From 8d60e17b3ff836f464163111aba3c547c17a97c2 Mon Sep 17 00:00:00 2001 From: Srinivasa Ragavan Date: Mon, 17 Jul 2006 10:53:43 +0000 Subject: Fix for bug #347166 svn path=/trunk/; revision=32326 --- widgets/misc/ChangeLog | 7 +++++++ widgets/misc/e-search-bar.c | 4 +--- 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 + + ** Fixes bug #347166 + + * widgets/misc.e-search-bar.c: (set_option): + remove gtk_option_menu_set_history(). + 2006-06-07 Ushveen Kaur ** 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); } -- cgit v1.2.3