diff options
-rw-r--r-- | mail/ChangeLog | 4 | ||||
-rw-r--r-- | mail/em-folder-browser.c | 4 |
2 files changed, 6 insertions, 2 deletions
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 <sragavan@novell.com> + + * mail/em-folder-browser.c: Make show unread/etc work well. + 2008-07-24 Sankar P <psankar@novell.com> * 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; |