[evolution-exchange/gnome-3-0] Mark the dirty flag in message_info when the flags are changed to sync the changes to db.



commit 68e52e4d090e118ef7041c168d11027d0d964460
Author: Chenthill Palanisamy <pchenthill novell com>
Date:   Mon Apr 11 14:59:40 2011 +0530

    Mark the dirty flag in message_info when the flags are changed to
    sync the changes to db.

 camel/camel-exchange-folder.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/camel/camel-exchange-folder.c b/camel/camel-exchange-folder.c
index 764dd83..f849a4c 100644
--- a/camel/camel-exchange-folder.c
+++ b/camel/camel-exchange-folder.c
@@ -984,6 +984,7 @@ camel_exchange_folder_update_message_flags (CamelExchangeFolder *exch,
 
 	if (info->flags != flags) {
 		info->flags = flags;
+		info->dirty = 1;
 		camel_folder_summary_touch (folder->summary);
 
 		changes = camel_folder_change_info_new ();



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