aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSrinivasa Ragavan <sragavan@novell.com>2008-07-24 13:51:34 +0800
committerSrinivasa Ragavan <sragavan@src.gnome.org>2008-07-24 13:51:34 +0800
commita91345154c8f0d5b1f19ac03b41049cd6812fe13 (patch)
treef220394af8889d53a73769c0d6a99105f101851f
parent5e9624f5fe794fd1c452c8d80e68c1d1eca88a08 (diff)
downloadgsoc2013-evolution-a91345154c8f0d5b1f19ac03b41049cd6812fe13.tar.gz
gsoc2013-evolution-a91345154c8f0d5b1f19ac03b41049cd6812fe13.tar.zst
gsoc2013-evolution-a91345154c8f0d5b1f19ac03b41049cd6812fe13.zip
Revert Sankar's search hacks.
2008-07-24 Srinivasa Ragavan <sragavan@novell.com> * mail/em-folder-browser.c: Revert Sankar's search hacks. svn path=/trunk/; revision=35829
-rw-r--r--mail/ChangeLog4
-rw-r--r--mail/em-folder-browser.c6
2 files changed, 7 insertions, 3 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index d355a445f4..29b7744039 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,3 +1,7 @@
+2008-07-24 Srinivasa Ragavan <sragavan@novell.com>
+
+ * mail/em-folder-browser.c: Revert Sankar's search hacks.
+
2008-07-22 Milan Crha <mcrha@redhat.com>
** Part of fix for bug #544022
diff --git a/mail/em-folder-browser.c b/mail/em-folder-browser.c
index 6c4e959e02..3c561a00fa 100644
--- a/mail/em-folder-browser.c
+++ b/mail/em-folder-browser.c
@@ -881,7 +881,7 @@ get_view_query (ESearchBar *esb, CamelFolder *folder, const char *folder_uri)
view_sexp = "(match-all (system-flag \"Seen\"))";
break;
case VIEW_READ_MESSAGES:
- view_sexp = "(match-all (system-flag \"Seen\" \"set\"))";
+ view_sexp = "(match-all (system-flag \"Seen\" ))";
break;
case VIEW_RECENT_MESSAGES:
if (!em_utils_folder_is_sent (folder, folder_uri))
@@ -896,7 +896,7 @@ get_view_query (ESearchBar *esb, CamelFolder *folder, const char *folder_uri)
view_sexp = " (match-all (> (get-sent-date) (- (get-current-date) 432000)))";
break;
case VIEW_WITH_ATTACHMENTS:
- view_sexp = "(match-all (system-flag \"Attachments\" \"set\"))";
+ view_sexp = "(match-all (system-flag \"Attachments\" ))";
break;
case VIEW_NOT_JUNK:
view_sexp = "(match-all (system-flag \"junk\"))";
@@ -931,7 +931,7 @@ get_view_query (ESearchBar *esb, CamelFolder *folder, const char *folder_uri)
duplicate = FALSE;
break;
case VIEW_MESSAGES_MARKED_AS_IMPORTANT:
- view_sexp = "(match-all (system-flag \"Flagged\" \"set\"))";
+ view_sexp = "(match-all (system-flag \"Flagged\" ))";
break;
case VIEW_ANY_FIELD_CONTAINS:
break;