diff options
Diffstat (limited to 'mail/em-folder-browser.c')
-rw-r--r-- | mail/em-folder-browser.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mail/em-folder-browser.c b/mail/em-folder-browser.c index f46b30c453..d1d03dc47e 100644 --- a/mail/em-folder-browser.c +++ b/mail/em-folder-browser.c @@ -878,7 +878,7 @@ get_view_query (ESearchBar *esb, CamelFolder *folder, const char *folder_uri) before I forget so that no one else again needs to read through the code -- Sankar */ case VIEW_UNREAD_MESSAGES: - view_sexp = "(match-all (system-flag \"Seen\"))"; + view_sexp = "(match-all (not (system-flag \"Seen\")))"; break; case VIEW_READ_MESSAGES: view_sexp = "(match-all (system-flag \"Seen\" ))"; @@ -899,7 +899,7 @@ get_view_query (ESearchBar *esb, CamelFolder *folder, const char *folder_uri) view_sexp = "(match-all (system-flag \"Attachments\" ))"; break; case VIEW_NOT_JUNK: - view_sexp = "(match-all (system-flag \"junk\"))"; + view_sexp = "(match-all (not (system-flag \"junk\")))"; break; case VIEW_NO_LABEL: { GSList *l; |