aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2009-07-01 00:26:57 +0800
committerMilan Crha <mcrha@redhat.com>2009-07-01 00:28:05 +0800
commit0169e6a289a1836ca54541797e2d6c9cad2ada3d (patch)
treef41550a9eef6473da63e2b2595373d5302e9f445
parentfc94699abb73ac79b4676214ac965a93ea3b0986 (diff)
downloadgsoc2013-evolution-0169e6a289a1836ca54541797e2d6c9cad2ada3d.tar
gsoc2013-evolution-0169e6a289a1836ca54541797e2d6c9cad2ada3d.tar.gz
gsoc2013-evolution-0169e6a289a1836ca54541797e2d6c9cad2ada3d.tar.bz2
gsoc2013-evolution-0169e6a289a1836ca54541797e2d6c9cad2ada3d.tar.lz
gsoc2013-evolution-0169e6a289a1836ca54541797e2d6c9cad2ada3d.tar.xz
gsoc2013-evolution-0169e6a289a1836ca54541797e2d6c9cad2ada3d.tar.zst
gsoc2013-evolution-0169e6a289a1836ca54541797e2d6c9cad2ada3d.zip
Hide proper widgets from filter.glade for searches
-rw-r--r--filter/rule-editor.c4
-rw-r--r--mail/em-vfolder-editor.c3
2 files changed, 4 insertions, 3 deletions
diff --git a/filter/rule-editor.c b/filter/rule-editor.c
index 4a1e831451..2927938200 100644
--- a/filter/rule-editor.c
+++ b/filter/rule-editor.c
@@ -175,8 +175,8 @@ rule_editor_new (RuleContext *rc, const gchar *source, const gchar *label)
gui = glade_xml_new (filter_glade, "rule_editor", NULL);
g_free (filter_glade);
rule_editor_construct (re, rc, gui, source, label);
- gtk_widget_hide(glade_xml_get_widget (gui, "label17"));
- gtk_widget_hide(glade_xml_get_widget (gui, "filter_source"));
+ gtk_widget_hide (glade_xml_get_widget (gui, "label17"));
+ gtk_widget_hide (glade_xml_get_widget (gui, "filter_source_combobox"));
g_object_unref (gui);
return re;
diff --git a/mail/em-vfolder-editor.c b/mail/em-vfolder-editor.c
index 4182f7a3a3..3fd822fbcc 100644
--- a/mail/em-vfolder-editor.c
+++ b/mail/em-vfolder-editor.c
@@ -113,7 +113,8 @@ em_vfolder_editor_new (EMVFolderContext *vc)
g_free (gladefile);
rule_editor_construct ((RuleEditor *) ve, (RuleContext *) vc, gui, "incoming", _("Search _Folders"));
- gtk_widget_hide(glade_xml_get_widget (gui, "filter_source"));
+ gtk_widget_hide (glade_xml_get_widget (gui, "label17"));
+ gtk_widget_hide (glade_xml_get_widget (gui, "filter_source_combobox"));
g_object_unref (gui);
return ve;