aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/misc
diff options
context:
space:
mode:
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 */