evolution r35831 - trunk/mail



Author: sragavan
Date: Thu Jul 24 19:39:50 2008
New Revision: 35831
URL: http://svn.gnome.org/viewvc/evolution?rev=35831&view=rev

Log:
2008-07-25  Srinivasa Ragavan  <sragavan novell com>

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


Modified:
   trunk/mail/ChangeLog
   trunk/mail/em-folder-browser.c

Modified: trunk/mail/em-folder-browser.c
==============================================================================
--- trunk/mail/em-folder-browser.c	(original)
+++ trunk/mail/em-folder-browser.c	Thu Jul 24 19:39:50 2008
@@ -878,7 +878,7 @@
 	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 @@
 		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;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]