aboutsummaryrefslogtreecommitdiffstats
path: root/mail/folder-browser.c
diff options
context:
space:
mode:
authorNot Zed <NotZed@Ximian.com>2001-01-26 17:16:29 +0800
committerMichael Zucci <zucchi@src.gnome.org>2001-01-26 17:16:29 +0800
commit54ac4051e9a903cdfea44f1099fd07bbd9174e5e (patch)
tree731999e85c3e8670a581c134e5dc7dc9fcebda69 /mail/folder-browser.c
parent66c8e42323d4bf2d19a2670f5be3e459f62d3b09 (diff)
downloadgsoc2013-evolution-54ac4051e9a903cdfea44f1099fd07bbd9174e5e.tar
gsoc2013-evolution-54ac4051e9a903cdfea44f1099fd07bbd9174e5e.tar.gz
gsoc2013-evolution-54ac4051e9a903cdfea44f1099fd07bbd9174e5e.tar.bz2
gsoc2013-evolution-54ac4051e9a903cdfea44f1099fd07bbd9174e5e.tar.lz
gsoc2013-evolution-54ac4051e9a903cdfea44f1099fd07bbd9174e5e.tar.xz
gsoc2013-evolution-54ac4051e9a903cdfea44f1099fd07bbd9174e5e.tar.zst
gsoc2013-evolution-54ac4051e9a903cdfea44f1099fd07bbd9174e5e.zip
Define BROKEN_ETREE again, till we get this stuff fixed better.
2001-01-26 Not Zed <NotZed@Ximian.com> * message-list.c (build_tree): Define BROKEN_ETREE again, till we get this stuff fixed better. 2001-01-25 Not Zed <NotZed@Ximian.com> * folder-browser.c: Moved teh "sender contains" item to the end of the list, so the gui doesn't suddenly change on everyone. Fixed the sender-contains search string to be a valid s-exp (ha, didn't test it even once eh ettore?!) (search_save): Dont have the sender contains as the default case (which well, never gets called anyway), oops i guess i should've reviewed the patch a little more. svn path=/trunk/; revision=7835
Diffstat (limited to 'mail/folder-browser.c')
-rw-r--r--mail/folder-browser.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/mail/folder-browser.c b/mail/folder-browser.c
index d7f70e4a64..e3903fab3e 100644
--- a/mail/folder-browser.c
+++ b/mail/folder-browser.c
@@ -330,14 +330,6 @@ search_save (GtkWidget *w, FolderBrowser *fb)
default:
/* header or body contains */
index = ESB_BODY_SUBJECT_CONTAINS;
- case ESB_SENDER_CONTAINS:
- part = vfolder_create_part ("from");
- filter_rule_add_part ((FilterRule *)rule, part);
- element = filter_part_find_element (part, "from-type");
- filter_option_set_current ((FilterOption *)element, "contains");
- element = filter_part_find_element (part, "from");
- filter_input_set_value ((FilterInput *)element, text);
- break;
case ESB_BODY_CONTAINS:
case ESB_SUBJECT_CONTAINS:
if (index == ESB_BODY_SUBJECT_CONTAINS || index == ESB_BODY_CONTAINS) {
@@ -374,6 +366,14 @@ search_save (GtkWidget *w, FolderBrowser *fb)
element = filter_part_find_element (part, "subject");
filter_input_set_value ((FilterInput *)element, text);
break;
+ case ESB_SENDER_CONTAINS:
+ part = vfolder_create_part ("from");
+ filter_rule_add_part ((FilterRule *)rule, part);
+ element = filter_part_find_element (part, "from-type");
+ filter_option_set_current ((FilterOption *)element, "contains");
+ element = filter_part_find_element (part, "from");
+ filter_input_set_value ((FilterInput *)element, text);
+ break;
}
vfolder_gui_add_rule (rule);