aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--widgets/misc/ChangeLog7
-rw-r--r--widgets/misc/e-search-bar.c4
2 files changed, 8 insertions, 3 deletions
diff --git a/widgets/misc/ChangeLog b/widgets/misc/ChangeLog
index a0afbb82f0..2f8c25c8c2 100644
--- a/widgets/misc/ChangeLog
+++ b/widgets/misc/ChangeLog
@@ -1,3 +1,10 @@
+2006-07-11 Hiroyuki Ikezoe <poincare@ikezoe.net>
+
+ ** Fixes bug #347166
+
+ * widgets/misc.e-search-bar.c: (set_option):
+ remove gtk_option_menu_set_history().
+
2006-06-07 Ushveen Kaur <kushveen@novell.com>
** Fixes bug #341333
diff --git a/widgets/misc/e-search-bar.c b/widgets/misc/e-search-bar.c
index 7675c15945..5b1af11ad8 100644
--- a/widgets/misc/e-search-bar.c
+++ b/widgets/misc/e-search-bar.c
@@ -612,7 +612,7 @@ set_option (ESearchBar *esb, ESearchBarItem *items)
GSList *group = NULL;
int i;
- if (esb->option)
+ if (esb->option_menu)
gtk_widget_destroy (esb->option_menu);
esb->option_menu = menu = gtk_menu_new ();
@@ -660,8 +660,6 @@ set_option (ESearchBar *esb, ESearchBarItem *items)
gtk_widget_show_all (menu);
- gtk_option_menu_set_history (GTK_OPTION_MENU (esb->option), 0);
-
entry_focus_out_cb (esb->entry, NULL, esb);
}