evolution-data-server r10076 - branches/gnome-2-24/camel



Author: psankar
Date: Thu Feb 19 18:00:13 2009
New Revision: 10076
URL: http://svn.gnome.org/viewvc/evolution-data-server?rev=10076&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:
   branches/gnome-2-24/camel/ChangeLog
   branches/gnome-2-24/camel/camel-folder-summary.c

Modified: branches/gnome-2-24/camel/camel-folder-summary.c
==============================================================================
--- branches/gnome-2-24/camel/camel-folder-summary.c	(original)
+++ branches/gnome-2-24/camel/camel-folder-summary.c	Thu Feb 19 18:00:13 2009
@@ -1367,9 +1367,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]