[evolution-data-server] camel_folder_thaw: Save changes to local summary



commit fa03273f1c68277da5370e287ac709760d6894b3
Author: Milan Crha <mcrha redhat com>
Date:   Tue Nov 4 08:29:44 2014 +0100

    camel_folder_thaw: Save changes to local summary
    
    The save may prevent any change lost if the operation being done
    during the frozen folder didn't save the summary itself.

 camel/camel-folder.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/camel/camel-folder.c b/camel/camel-folder.c
index 49bbd7a..567ea8a 100644
--- a/camel/camel-folder.c
+++ b/camel/camel-folder.c
@@ -966,6 +966,9 @@ folder_thaw (CamelFolder *folder)
        if (info) {
                camel_folder_changed (folder, info);
                camel_folder_change_info_free (info);
+
+               if (folder->summary)
+                       camel_folder_summary_save_to_db (folder->summary, NULL);
        }
 }
 


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