summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSankar P <psankar@novell.com>2009-02-19 18:00:13 +0000
committerSankarasivasubramanian Pasupathilingam <psankar@src.gnome.org>2009-02-19 18:00:13 +0000
commitb461ff231706f217d251dbd192a2d2b14ba03f92 (patch)
tree381b42aca3f67f7f4a8ee44cabb7e563cebfc10d
parentd0d485dbef598c3d1c86ccd52572cf13c465138f (diff)
downloadevolution-data-server-b461ff231706f217d251dbd192a2d2b14ba03f92.tar.gz
** Fix for bug bnc #477535
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. svn path=/branches/gnome-2-24/; revision=10076
-rw-r--r--camel/ChangeLog8
-rw-r--r--camel/camel-folder-summary.c5
2 files changed, 11 insertions, 2 deletions
diff --git a/camel/ChangeLog b/camel/ChangeLog
index 8d1323f01..786739449 100644
--- a/camel/ChangeLog
+++ b/camel/ChangeLog
@@ -1,3 +1,11 @@
+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.
+
2009-02-02 Matt McCutchen 2 <matt@mattmccutchen.net>
** Fix for bug #569405
diff --git a/camel/camel-folder-summary.c b/camel/camel-folder-summary.c
index 412579cb5..431a4c8b1 100644
--- a/camel/camel-folder-summary.c
+++ b/camel/camel-folder-summary.c
@@ -1367,9 +1367,10 @@ save_to_db_cb (gpointer key, gpointer value, gpointer data)
}
}
- /* 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);
}