Make show unread/etc work well.

2008-07-25  Srinivasa Ragavan  <sragavan@novell.com>

	* mail/em-folder-browser.c: Make show unread/etc work well.

svn path=/trunk/; revision=35831
This commit is contained in:
Srinivasa Ragavan
2008-07-24 19:39:50 +00:00
committed by Srinivasa Ragavan
parent 798212b558
commit 0847af004d
2 changed files with 6 additions and 2 deletions

View File

@ -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):

View File

@ -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;