evolution-data-server r9390 - trunk/camel



Author: sragavan
Date: Tue Aug 19 05:29:15 2008
New Revision: 9390
URL: http://svn.gnome.org/viewvc/evolution-data-server?rev=9390&view=rev

Log:
2008-08-19  Srinivasa Ragavan  <sragavan novell com>

	* camel/camel-vee-folder.c: Fix issue of unread mails in trash.


Modified:
   trunk/camel/ChangeLog
   trunk/camel/camel-vee-folder.c

Modified: trunk/camel/camel-vee-folder.c
==============================================================================
--- trunk/camel/camel-vee-folder.c	(original)
+++ trunk/camel/camel-vee-folder.c	Tue Aug 19 05:29:15 2008
@@ -1298,7 +1298,7 @@
 	camel_db_add_to_vfolder_transaction (folder->parent_store->cdb, folder->full_name, (char *)vuid, NULL);
 	camel_folder_change_info_add_uid(vf->changes,  vuid);
 	/* old flags and new flags should  be same, since we sync all times  */
-	update_summary (vinfo, vinfo->old_flags, 0, TRUE);
+	update_summary (vinfo, camel_message_info_flags(vinfo), 0, TRUE);
 	if ((vf->flags & CAMEL_STORE_FOLDER_PRIVATE) == 0 && !CAMEL_IS_VEE_FOLDER(sub) && folder_unmatched != NULL) {
 		if (g_hash_table_lookup_extended(unmatched_uids, vuid, (void **)&oldkey, &oldval)) {
 			n = GPOINTER_TO_INT (oldval);



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