Alt-D to focus text entry field
- From: Lukin <lukin1 gmail com>
- To: Dashboard-hackers gnome org
- Cc: 
- Subject: Alt-D to focus text entry field
- Date: Mon, 21 Mar 2005 22:44:20 -0500
I am so used to Alt-D to focus the cursor into the URL bar in FireFox
I decided to add it to the best window.  Ctrl-L just didn't do it for
me. I wonder... Is there a standard on this? Regardless.. it make me
happy :)  Maybe someone else will find it useful
This is against the cvs as of the time of this email
$ cvs diff -u BestWindow.cs
Index: BestWindow.cs
===================================================================
RCS file: /cvs/gnome/beagle/Best/BestWindow.cs,v
retrieving revision 1.65
diff -u -r1.65 BestWindow.cs
--- BestWindow.cs       16 Mar 2005 00:27:00 -0000      1.65
+++ BestWindow.cs       22 Mar 2005 03:25:43 -0000
@@ -125,6 +125,12 @@
                                                   
Gdk.ModifierType.ControlMask,
                                                    Gtk.AccelFlags.Visible);
+                       // Focus Entry (Alt+D)
+                       global_keys.AddAccelerator (new EventHandler
(this.FocusEntryHandler),
+                                                   (uint) Gdk.Key.D,
+                                                   Gdk.ModifierType.Mod1Mask,
+                                                   Gtk.AccelFlags.Visible);
+
                        // Previous Page (PageUp)
                        global_keys.AddAccelerator (new EventHandler
(this.PageBackHandler),
                                                    (uint) Gdk.Key.Page_Up,
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]