aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@novell.com>2005-03-03 02:21:20 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2005-03-03 02:21:20 +0800
commit5509f7fda780dd9891b39fe6990753dbec733898 (patch)
tree4400cb8799bb4a2cd56c09579cd4efc706d77136
parent39545a5a7c9ea4d1493cd94abbd6e54ecd76f8b6 (diff)
downloadgsoc2013-evolution-5509f7fda780dd9891b39fe6990753dbec733898.tar.gz
gsoc2013-evolution-5509f7fda780dd9891b39fe6990753dbec733898.tar.zst
gsoc2013-evolution-5509f7fda780dd9891b39fe6990753dbec733898.zip
Make the entry widget grab focus. Fixes bug #60551.
2005-03-01 Jeffrey Stedfast <fejj@novell.com> * e-search-bar.c (subitem_activated_cb): Make the entry widget grab focus. Fixes bug #60551. svn path=/trunk/; revision=28940
-rw-r--r--widgets/misc/ChangeLog5
-rw-r--r--widgets/misc/e-search-bar.c2
2 files changed, 7 insertions, 0 deletions
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 <fejj@novell.com>
+
+ * e-search-bar.c (subitem_activated_cb): Make the entry widget
+ grab focus. Fixes bug #60551.
+
2005-02-21 Rodney Dawes <dobey@novell.com>
* 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 *