aboutsummaryrefslogtreecommitdiffstats
path: root/filter/filter-editor.c
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2001-03-17 15:00:19 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2001-03-17 15:00:19 +0800
commit22190776d3f7a1fb69b2d8ff72fe80fae21ec63e (patch)
treef85bdf8b20668816192ec24241d5e0c71483d4f1 /filter/filter-editor.c
parentbdb087eaeba3937fd9ce86176a9e0a5d09d899f5 (diff)
downloadgsoc2013-evolution-22190776d3f7a1fb69b2d8ff72fe80fae21ec63e.tar
gsoc2013-evolution-22190776d3f7a1fb69b2d8ff72fe80fae21ec63e.tar.gz
gsoc2013-evolution-22190776d3f7a1fb69b2d8ff72fe80fae21ec63e.tar.bz2
gsoc2013-evolution-22190776d3f7a1fb69b2d8ff72fe80fae21ec63e.tar.lz
gsoc2013-evolution-22190776d3f7a1fb69b2d8ff72fe80fae21ec63e.tar.xz
gsoc2013-evolution-22190776d3f7a1fb69b2d8ff72fe80fae21ec63e.tar.zst
gsoc2013-evolution-22190776d3f7a1fb69b2d8ff72fe80fae21ec63e.zip
Remove the menu that is in the glade file because we want to replace it
2001-03-17 Jeffrey Stedfast <fejj@ximian.com> * filter-editor.c (filter_editor_construct): Remove the menu that is in the glade file because we want to replace it with our menu, not append items to that menu. * filtertypes.xml: Oops, missed the system-flag action-set. * vfoldertypes.xml: Update "status" ruleset. svn path=/trunk/; revision=8780
Diffstat (limited to 'filter/filter-editor.c')
-rw-r--r--filter/filter-editor.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/filter/filter-editor.c b/filter/filter-editor.c
index 66891e0c2c..800bed9e7f 100644
--- a/filter/filter-editor.c
+++ b/filter/filter-editor.c
@@ -148,7 +148,9 @@ filter_editor_construct(FilterEditor *fe, FilterContext *fc, GladeXML *gui, cons
int i;
omenu = glade_xml_get_widget (gui, "filter_source");
- menu = GTK_OPTION_MENU(omenu)->menu;
+ gtk_option_menu_remove_menu (GTK_OPTION_MENU (omenu));
+ menu = gtk_menu_new ();
+
for (i=0;source_names[i];i++) {
item = gtk_menu_item_new_with_label(_(source_names[i]));
gtk_object_set_data_full(GTK_OBJECT(item), "source", g_strdup(source_names[i]), g_free);