aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSrinivasa Ragavan <sragavan@src.gnome.org>2006-07-17 18:53:43 +0800
committerSrinivasa Ragavan <sragavan@src.gnome.org>2006-07-17 18:53:43 +0800
commit8d60e17b3ff836f464163111aba3c547c17a97c2 (patch)
treea88eb95dfec37f1d8b581be0b6c8bcdf55390651
parentda64d1035ced76cd973f29d14a54f0e5372fe130 (diff)
downloadgsoc2013-evolution-8d60e17b3ff836f464163111aba3c547c17a97c2.tar.gz
gsoc2013-evolution-8d60e17b3ff836f464163111aba3c547c17a97c2.tar.zst
gsoc2013-evolution-8d60e17b3ff836f464163111aba3c547c17a97c2.zip
Fix for bug #347166
svn path=/trunk/; revision=32326
-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);
}