[evolution/evolution-3-12] [Mark-All-Read] Save changes to the server immediately



commit aeea8a52d4567418301c8ed79f65020534302d08
Author: Milan Crha <mcrha redhat com>
Date:   Tue Nov 4 08:25:12 2014 +0100

    [Mark-All-Read] Save changes to the server immediately

 modules/mail/e-mail-shell-view-actions.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/modules/mail/e-mail-shell-view-actions.c b/modules/mail/e-mail-shell-view-actions.c
index a93191c..84f4c13 100644
--- a/modules/mail/e-mail-shell-view-actions.c
+++ b/modules/mail/e-mail-shell-view-actions.c
@@ -467,6 +467,9 @@ mark_all_read_thread (GSimpleAsyncResult *simple,
 
                camel_folder_thaw (folder);
 
+               /* Save changes to the server immediately. */
+               camel_folder_synchronize_sync (folder, FALSE, cancellable, &error);
+
                camel_folder_free_uids (folder, uids);
                g_object_unref (folder);
        }


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