aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/misc
diff options
context:
space:
mode:
authorEttore Perazzoli <ettore@src.gnome.org>2002-10-24 01:39:09 +0800
committerEttore Perazzoli <ettore@src.gnome.org>2002-10-24 01:39:09 +0800
commiteac24fd792678e164f36200cda0ad4fca304c1f4 (patch)
treee4e7a58bca83d7c116c6a276304919a3bd93c18c /widgets/misc
parent91fae69957a4fd7c6aab43626b08900f0ec81cb7 (diff)
downloadgsoc2013-evolution-eac24fd792678e164f36200cda0ad4fca304c1f4.tar
gsoc2013-evolution-eac24fd792678e164f36200cda0ad4fca304c1f4.tar.gz
gsoc2013-evolution-eac24fd792678e164f36200cda0ad4fca304c1f4.tar.bz2
gsoc2013-evolution-eac24fd792678e164f36200cda0ad4fca304c1f4.tar.lz
gsoc2013-evolution-eac24fd792678e164f36200cda0ad4fca304c1f4.tar.xz
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/ChangeLog8
-rw-r--r--widgets/misc/e-search-bar.c3
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 */