aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSrinivasa Ragavan <sragavan@novell.com>2008-07-25 03:39:50 +0800
committerSrinivasa Ragavan <sragavan@src.gnome.org>2008-07-25 03:39:50 +0800
commit0847af004dc28c76aec8b4b22d60496bcf63e0ea (patch)
tree8eca11420acaaa3b07cc9a7c94fbd0870a4e9588
parent798212b5586ea0ceecce9a3504d6ce965f09d76c (diff)
downloadgsoc2013-evolution-0847af004dc28c76aec8b4b22d60496bcf63e0ea.tar
gsoc2013-evolution-0847af004dc28c76aec8b4b22d60496bcf63e0ea.tar.gz
gsoc2013-evolution-0847af004dc28c76aec8b4b22d60496bcf63e0ea.tar.bz2
gsoc2013-evolution-0847af004dc28c76aec8b4b22d60496bcf63e0ea.tar.lz
gsoc2013-evolution-0847af004dc28c76aec8b4b22d60496bcf63e0ea.tar.xz
gsoc2013-evolution-0847af004dc28c76aec8b4b22d60496bcf63e0ea.tar.zst
gsoc2013-evolution-0847af004dc28c76aec8b4b22d60496bcf63e0ea.zip
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
-rw-r--r--mail/ChangeLog4
-rw-r--r--mail/em-folder-browser.c4
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;