aboutsummaryrefslogtreecommitdiffstats
path: root/filter/vfolder-editor.c
diff options
context:
space:
mode:
authorNot Zed <NotZed@Ximian.com>2004-03-31 18:05:34 +0800
committerMichael Zucci <zucchi@src.gnome.org>2004-03-31 18:05:34 +0800
commita4606615f6dadb9b91ab9c501bca405ca6728421 (patch)
tree7349af421c52d644cdb3f47658f604fb81fe85fb /filter/vfolder-editor.c
parente3289853ca71aa3d5251f82215aca7c141835dad (diff)
downloadgsoc2013-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/vfolder-editor.c')
-rw-r--r--filter/vfolder-editor.c11
1 files changed, 3 insertions, 8 deletions
diff --git a/filter/vfolder-editor.c b/filter/vfolder-editor.c
index 4280d8cd2f..84ebbc0f94 100644
--- a/filter/vfolder-editor.c
+++ b/filter/vfolder-editor.c
@@ -103,15 +103,10 @@ vfolder_editor_new (VfolderContext *vc)
{
VfolderEditor *ve = (VfolderEditor *) g_object_new (VFOLDER_TYPE_EDITOR, NULL);
GladeXML *gui;
- GtkWidget *w;
- gui = glade_xml_new (FILTER_GLADEDIR "/filter.glade", "vfolder_editor", NULL);
-
- w = glade_xml_get_widget (gui, "vfolder_editor");
- gtk_box_pack_start (GTK_BOX (GTK_DIALOG (ve)->vbox), w, TRUE, TRUE, 0);
-
- rule_editor_construct ((RuleEditor *) ve, (RuleContext *) vc, gui, NULL);
-
+ gui = glade_xml_new (FILTER_GLADEDIR "/filter.glade", "rule_editor", NULL);
+ rule_editor_construct ((RuleEditor *) ve, (RuleContext *) vc, gui, NULL, _("Virtual _Folders"));
+ gtk_widget_hide(glade_xml_get_widget (gui, "filter_source"));
g_object_unref (gui);
return ve;