diff options
author | Ettore Perazzoli <ettore@src.gnome.org> | 2002-10-24 01:39:09 +0800 |
---|---|---|
committer | Ettore Perazzoli <ettore@src.gnome.org> | 2002-10-24 01:39:09 +0800 |
commit | eac24fd792678e164f36200cda0ad4fca304c1f4 (patch) | |
tree | e4e7a58bca83d7c116c6a276304919a3bd93c18c /widgets/misc/e-search-bar.c | |
parent | 91fae69957a4fd7c6aab43626b08900f0ec81cb7 (diff) | |
download | gsoc2013-evolution-eac24fd792678e164f36200cda0ad4fca304c1f4.tar.gz gsoc2013-evolution-eac24fd792678e164f36200cda0ad4fca304c1f4.tar.zst gsoc2013-evolution-eac24fd792678e164f36200cda0ad4fca304c1f4.zip |
(activate_by_subitems): gtk_widget_grab_focus()
on the entry when adding it in.
svn path=/trunk/; revision=18418
Diffstat (limited to 'widgets/misc/e-search-bar.c')
-rw-r--r-- | widgets/misc/e-search-bar.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/widgets/misc/e-search-bar.c b/widgets/misc/e-search-bar.c index 6c95c4e585..784ff94979 100644 --- a/widgets/misc/e-search-bar.c +++ b/widgets/misc/e-search-bar.c @@ -329,7 +329,10 @@ activate_by_subitems (ESearchBar *esb, gint item_id, ESearchBarSubitem *subitems g_assert (!esb->suboption || esb->suboption->parent == NULL); } else { gtk_container_add (GTK_CONTAINER (esb->entry_box), esb->entry); + gtk_widget_grab_focus (esb->entry); + esb->subitem_id = -1; + } } else { /* This item uses a submenu */ |