diff options
-rw-r--r-- | mail/ChangeLog | 4 | ||||
-rw-r--r-- | mail/em-folder-browser.c | 6 |
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; |