evolution-data-server r9369 - trunk/camel/providers/local



Author: sragavan
Date: Mon Aug 18 05:03:01 2008
New Revision: 9369
URL: http://svn.gnome.org/viewvc/evolution-data-server?rev=9369&view=rev

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

	* camel/providers/local/camel-mbox-summary.c: Fix counts on expunge
	and on an expunge, save the contents to db.


Modified:
   trunk/camel/providers/local/ChangeLog
   trunk/camel/providers/local/camel-mbox-summary.c

Modified: trunk/camel/providers/local/camel-mbox-summary.c
==============================================================================
--- trunk/camel/providers/local/camel-mbox-summary.c	(original)
+++ trunk/camel/providers/local/camel-mbox-summary.c	Mon Aug 18 05:03:01 2008
@@ -1246,6 +1246,7 @@
 				s->junk_count--;
 			if (!read)
 				s->unread_count--;
+			s->deleted_count--;
 			camel_folder_change_info_remove_uid(changeinfo, uid);
 			camel_folder_summary_remove(s, (CamelMessageInfo *)info);
 			camel_message_info_free((CamelMessageInfo *)info);
@@ -1347,7 +1348,8 @@
 			camel_message_info_free((CamelMessageInfo *)info);
 		}
 	}
-		
+	
+	camel_folder_summary_save_to_db (s, ex);
 	return 0;
  error:
 	g_free(xevnew);



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