[Epiphany] Bookmark editor patch



This makes the bookmarks window put the focus in the search entry when
opened.

I have found that that's what I want 99% of the time when I am using the
keyboard (Ctrl-B, then type in what I want), and it shouldn't hurt
people who use the mouse.

-- 
Ettore Perazzoli <ettore@ximian.com>
Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/epiphany/ChangeLog,v
retrieving revision 1.820.2.43
diff -u -p -r1.820.2.43 ChangeLog
--- ChangeLog	16 Oct 2003 19:11:15 -0000	1.820.2.43
+++ ChangeLog	17 Oct 2003 05:40:09 -0000
@@ -1,3 +1,9 @@
+2003-10-17  Ettore Perazzoli  <ettore@ximian.com>
+
+	* src/bookmarks/ephy-bookmarks-editor.c
+	(ephy_bookmarks_editor_construct): Make the search entry grab the
+	focus, for added ease of use when using the keyboard.
+
 2003-10-16  Christian Persch
 
 	* configure.in:
Index: src/bookmarks/ephy-bookmarks-editor.c
===================================================================
RCS file: /cvs/gnome/epiphany/src/bookmarks/ephy-bookmarks-editor.c,v
retrieving revision 1.97.2.1
diff -u -p -r1.97.2.1 ephy-bookmarks-editor.c
--- src/bookmarks/ephy-bookmarks-editor.c	11 Sep 2003 19:12:17 -0000	1.97.2.1
+++ src/bookmarks/ephy-bookmarks-editor.c	17 Oct 2003 05:40:13 -0000
@@ -1384,6 +1384,8 @@ ephy_bookmarks_editor_construct (EphyBoo
 	ephy_state_add_paned  (GTK_WIDGET (hpaned),
 			       "bookmarks_paned",
 		               130);
+
+	gtk_widget_grab_focus (editor->priv->search_entry);
 }
 
 void


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]