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 | |
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')
-rw-r--r-- | widgets/misc/ChangeLog | 8 | ||||
-rw-r--r-- | widgets/misc/e-search-bar.c | 3 |
2 files changed, 11 insertions, 0 deletions
diff --git a/widgets/misc/ChangeLog b/widgets/misc/ChangeLog index a88854c6bc..0416f07b3e 100644 --- a/widgets/misc/ChangeLog +++ b/widgets/misc/ChangeLog @@ -1,3 +1,11 @@ +2002-10-23 Ettore Perazzoli <ettore@ximian.com> + + [#26128, thanks to Federico Mena Quintero <federico@ximian.com> + for providing this fix.] + + * e-search-bar.c (activate_by_subitems): gtk_widget_grab_focus() + on the entry when adding it in. + 2002-10-11 JP Rosevear <jpr@ximian.com> * e-calendar-item.c (e_calendar_item_ensure_days_visible): check 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 */ |