diff options
author | Not Zed <NotZed@Ximian.com> | 2004-03-31 18:05:34 +0800 |
---|---|---|
committer | Michael Zucci <zucchi@src.gnome.org> | 2004-03-31 18:05:34 +0800 |
commit | a4606615f6dadb9b91ab9c501bca405ca6728421 (patch) | |
tree | 7349af421c52d644cdb3f47658f604fb81fe85fb /filter/filter-editor.c | |
parent | e3289853ca71aa3d5251f82215aca7c141835dad (diff) | |
download | gsoc2013-evolution-a4606615f6dadb9b91ab9c501bca405ca6728421.tar gsoc2013-evolution-a4606615f6dadb9b91ab9c501bca405ca6728421.tar.gz gsoc2013-evolution-a4606615f6dadb9b91ab9c501bca405ca6728421.tar.bz2 gsoc2013-evolution-a4606615f6dadb9b91ab9c501bca405ca6728421.tar.lz gsoc2013-evolution-a4606615f6dadb9b91ab9c501bca405ca6728421.tar.xz gsoc2013-evolution-a4606615f6dadb9b91ab9c501bca405ca6728421.tar.zst gsoc2013-evolution-a4606615f6dadb9b91ab9c501bca405ca6728421.zip |
renamed filter_label to rule_label, and removed the vfolder-editor and
2004-03-31 Not Zed <NotZed@Ximian.com>
* filter.glade: renamed filter_label to rule_label, and removed
the vfolder-editor and filter-editor windows.
* rule-editor.c (rule_editor_new): hide the source widget.
* vfolder-editor.c (vfolder_editor_new): hide the source widget.
* rule-editor.c (rule_editor_new): add a label argument.
* vfolder-editor.c (vfolder_editor_new): ditto below.
* filter-editor.c (filter_editor_new): dont add any label here.
* rule-editor.c (rule_editor_construct): Put the widget back in
the dialogue box here. Add an argument for the area label.
** Revert Rodney's last patch.
svn path=/trunk/; revision=25257
Diffstat (limited to 'filter/filter-editor.c')
-rw-r--r-- | filter/filter-editor.c | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/filter/filter-editor.c b/filter/filter-editor.c index f6cb323aec..884721f862 100644 --- a/filter/filter-editor.c +++ b/filter/filter-editor.c @@ -105,15 +105,9 @@ filter_editor_new (FilterContext *fc, const char **source_names) { FilterEditor *fe = (FilterEditor *) g_object_new (FILTER_TYPE_EDITOR, NULL); GladeXML *gui; - GtkWidget *w; - - gui = glade_xml_new (FILTER_GLADEDIR "/filter.glade", "filter_editor", NULL); - - w = glade_xml_get_widget (gui, "filter_editor"); - gtk_box_pack_start (GTK_BOX (GTK_DIALOG (fe)->vbox), w, TRUE, TRUE, 0); + gui = glade_xml_new (FILTER_GLADEDIR "/filter.glade", "rule_editor", NULL); filter_editor_construct (fe, fc, gui, source_names); - g_object_unref (gui); return fe; @@ -150,7 +144,7 @@ filter_editor_construct (FilterEditor *fe, FilterContext *fc, GladeXML *gui, con gtk_option_menu_set_menu (GTK_OPTION_MENU (omenu), menu); gtk_widget_show (omenu); - rule_editor_construct ((RuleEditor *) fe, (RuleContext *) fc, gui, source_names[0]); + rule_editor_construct ((RuleEditor *) fe, (RuleContext *) fc, gui, source_names[0], _("_Filter Rules")); } static FilterRule * |