Author: mcrha
Date: Fri Feb  8 15:13:16 2008
New Revision: 8469
URL: http://svn.gnome.org/viewvc/evolution-data-server?rev=8469&view=rev

Log:
2008-02-08  Milan Crha  <[EMAIL PROTECTED]>

        ** Fix for bug #324804

        * camel-imap-folder.c: (imap_update_summary):
        Report all new messages as recent, even without that flag, thus new
        messages will be filtered even after saw by other software earlier.



Modified:
   trunk/camel/providers/imap/ChangeLog
   trunk/camel/providers/imap/camel-imap-folder.c

Modified: trunk/camel/providers/imap/camel-imap-folder.c
==============================================================================
--- trunk/camel/providers/imap/camel-imap-folder.c      (original)
+++ trunk/camel/providers/imap/camel-imap-folder.c      Fri Feb  8 15:13:16 2008
@@ -2751,8 +2751,10 @@
                camel_folder_summary_add (folder->summary, (CamelMessageInfo 
*)mi);
                camel_folder_change_info_add_uid (changes, 
camel_message_info_uid (mi));
 
-               if ((mi->info.flags & CAMEL_IMAP_MESSAGE_RECENT)) 
-                       camel_folder_change_info_recent_uid(changes, 
camel_message_info_uid (mi));
+               /* report all new messages as recent, even without that flag, 
thus new
+                  messages will be filtered even after saw by other software 
earlier */
+               if ((mi->info.flags & CAMEL_IMAP_MESSAGE_RECENT) != 0 || getenv 
("FILTER_RECENT") == NULL)
+                       camel_folder_change_info_recent_uid (changes, 
camel_message_info_uid (mi));
        }
 
        for ( ; i < messages->len; i++) {
_______________________________________________
SVN-commits-list mailing list (read only)
http://mail.gnome.org/mailman/listinfo/svn-commits-list

Want to limit the commits to a few modules? Go to above URL, log in to edit 
your options and select the modules ('topics') you want.
Module maintainer? It is possible to set the reply-to to your development 
mailing list. Email [EMAIL PROTECTED] if interested.

Reply via email to