From 5509f7fda780dd9891b39fe6990753dbec733898 Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Wed, 2 Mar 2005 18:21:20 +0000 Subject: Make the entry widget grab focus. Fixes bug #60551. 2005-03-01 Jeffrey Stedfast * e-search-bar.c (subitem_activated_cb): Make the entry widget grab focus. Fixes bug #60551. svn path=/trunk/; revision=28940 --- widgets/misc/ChangeLog | 5 +++++ widgets/misc/e-search-bar.c | 2 ++ 2 files changed, 7 insertions(+) (limited to 'widgets') diff --git a/widgets/misc/ChangeLog b/widgets/misc/ChangeLog index 52bde2708d..9f44ab71e9 100644 --- a/widgets/misc/ChangeLog +++ b/widgets/misc/ChangeLog @@ -1,3 +1,8 @@ +2005-03-01 Jeffrey Stedfast + + * e-search-bar.c (subitem_activated_cb): Make the entry widget + grab focus. Fixes bug #60551. + 2005-02-21 Rodney Dawes * e-combo-button.c (paint): Fix the calculation of which shadow type diff --git a/widgets/misc/e-search-bar.c b/widgets/misc/e-search-bar.c index aa7dec34e3..cdf4b37113 100644 --- a/widgets/misc/e-search-bar.c +++ b/widgets/misc/e-search-bar.c @@ -281,6 +281,8 @@ subitem_activated_cb (GtkWidget *widget, ESearchBar *esb) esb->subitem_id = subid; set_find_now_sensitive (esb, TRUE); + + gtk_widget_grab_focus (esb->entry); } static char * -- cgit v1.2.3