aboutsummaryrefslogtreecommitdiffstats
path: root/mail/folder-browser.c
diff options
context:
space:
mode:
authorEttore Perazzoli <ettore@src.gnome.org>2001-01-26 14:09:43 +0800
committerEttore Perazzoli <ettore@src.gnome.org>2001-01-26 14:09:43 +0800
commit66c8e42323d4bf2d19a2670f5be3e459f62d3b09 (patch)
tree031c2fcd1923ebfb16b667cbdab31d6b4087b3a3 /mail/folder-browser.c
parent6af5ca43fa2725b1254a90085dd1c6b856c41b24 (diff)
downloadgsoc2013-evolution-66c8e42323d4bf2d19a2670f5be3e459f62d3b09.tar
gsoc2013-evolution-66c8e42323d4bf2d19a2670f5be3e459f62d3b09.tar.gz
gsoc2013-evolution-66c8e42323d4bf2d19a2670f5be3e459f62d3b09.tar.bz2
gsoc2013-evolution-66c8e42323d4bf2d19a2670f5be3e459f62d3b09.tar.lz
gsoc2013-evolution-66c8e42323d4bf2d19a2670f5be3e459f62d3b09.tar.xz
gsoc2013-evolution-66c8e42323d4bf2d19a2670f5be3e459f62d3b09.tar.zst
gsoc2013-evolution-66c8e42323d4bf2d19a2670f5be3e459f62d3b09.zip
Fix the "sender contain" quicksearch rule by adding a missing
parenthesis; also make it the last item on the OptionMenu instead of the first one. svn path=/trunk/; revision=7834
Diffstat (limited to 'mail/folder-browser.c')
-rw-r--r--mail/folder-browser.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/mail/folder-browser.c b/mail/folder-browser.c
index f7f77ffe31..d7f70e4a64 100644
--- a/mail/folder-browser.c
+++ b/mail/folder-browser.c
@@ -227,21 +227,21 @@ static ESearchBarItem folder_browser_search_menu_items[] = {
};
enum {
- ESB_SENDER_CONTAINS,
ESB_BODY_SUBJECT_CONTAINS,
ESB_BODY_CONTAINS,
ESB_SUBJECT_CONTAINS,
ESB_BODY_DOES_NOT_CONTAIN,
ESB_SUBJECT_DOES_NOT_CONTAIN,
+ ESB_SENDER_CONTAINS,
};
static ESearchBarItem folder_browser_search_option_items[] = {
- { N_("Sender contains"), ESB_SENDER_CONTAINS },
{ N_("Body or subject contains"), ESB_BODY_SUBJECT_CONTAINS },
{ N_("Body contains"), ESB_BODY_CONTAINS },
{ N_("Subject contains"), ESB_SUBJECT_CONTAINS },
{ N_("Body does not contain"), ESB_BODY_DOES_NOT_CONTAIN },
{ N_("Subject does not contain"), ESB_SUBJECT_DOES_NOT_CONTAIN },
+ { N_("Sender contains"), ESB_SENDER_CONTAINS },
{ NULL, -1 }
};
@@ -249,12 +249,12 @@ static ESearchBarItem folder_browser_search_option_items[] = {
/* %s is replaced by the whole search string in quotes ...
possibly could split the search string into words as well ? */
static char *search_string[] = {
- "(match-all (header-contains \"from\" %s)",
"(or (body-contains %s) (match-all (header-contains \"Subject\" %s)))",
"(body-contains %s)",
"(match-all (header-contains \"Subject\" %s))",
"(match-all (not (body-contains %s)))",
"(match-all (not (header-contains \"Subject\" %s)))",
+ "(match-all (header-contains \"from\" %s))",
};
static void