evolution r36257 - trunk/mail



Author: sragavan
Date: Fri Sep  5 03:13:52 2008
New Revision: 36257
URL: http://svn.gnome.org/viewvc/evolution?rev=36257&view=rev

Log:
2008-09-05  Srinivasa Ragavan  <sragavan novell com>

	* mail-folder-cache.c (real_flush_updates): Fix infinite loop on
	deleting vfolders.


Modified:
   trunk/mail/ChangeLog
   trunk/mail/mail-folder-cache.c

Modified: trunk/mail/mail-folder-cache.c
==============================================================================
--- trunk/mail/mail-folder-cache.c	(original)
+++ trunk/mail/mail-folder-cache.c	Fri Sep  5 03:13:52 2008
@@ -206,7 +206,7 @@
 			e_event_emit((EEvent *)e, "folder.changed", (EEventTarget *)t);
 		}
 
-		if (CAMEL_IS_VEE_STORE (up->store)) {
+		if (CAMEL_IS_VEE_STORE (up->store) && !up->remove) {
 			/* Normally the vfolder store takes care of the folder_opened event itself,
 			   but we add folder to the noting system later, thus we do not know about
 			   search folders to update them in a tree, thus ensure their changes will



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