evolution-data-server r10077 - trunk/camel



Author: psankar
Date: Thu Feb 19 18:01:19 2009
New Revision: 10077
URL: http://svn.gnome.org/viewvc/evolution-data-server?rev=10077&view=rev

Log:
2009-02-19  Sankar P  <psankar novell com>

	** Fix for bug bnc #477535

	* camel/camel-folder-summary.c:
	Randomly mail status changes were not getting stored in server.
	Fixed the issue by unsetting correct flags.

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

Modified: trunk/camel/camel-folder-summary.c
==============================================================================
--- trunk/camel/camel-folder-summary.c	(original)
+++ trunk/camel/camel-folder-summary.c	Thu Feb 19 18:01:19 2009
@@ -1370,9 +1370,10 @@
 			}
 	}
 
-	/* Reset the flags */
+	/* Reset the dirty flag which decides if the changes are synced to the DB or not. 
+	The FOLDER_FLAGGED should be used to check if the changes are synced to the server. 
+	So, dont unset the FOLDER_FLAGGED flag */
 	mi->dirty = FALSE;
-	mi->flags &= ~CAMEL_MESSAGE_FOLDER_FLAGGED;
 	
 	camel_db_camel_mir_free (mir);	
 }



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