From 0847af004dc28c76aec8b4b22d60496bcf63e0ea Mon Sep 17 00:00:00 2001 From: Srinivasa Ragavan Date: Thu, 24 Jul 2008 19:39:50 +0000 Subject: Make show unread/etc work well. 2008-07-25 Srinivasa Ragavan * mail/em-folder-browser.c: Make show unread/etc work well. svn path=/trunk/; revision=35831 --- mail/ChangeLog | 4 ++++ mail/em-folder-browser.c | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) (limited to 'mail') diff --git a/mail/ChangeLog b/mail/ChangeLog index b7ef88238a..f750afb527 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,3 +1,7 @@ +2008-07-25 Srinivasa Ragavan + + * mail/em-folder-browser.c: Make show unread/etc work well. + 2008-07-24 Sankar P * em-folder-browser.c (get_view_query): 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; -- cgit