[evolution] Bug 764977 - Manual folder Refresh should fully resync with the server



commit 2136a01a5f49121609e495408e4ba1f5169eeaf9
Author: Milan Crha <mcrha redhat com>
Date:   Thu Apr 14 10:38:19 2016 +0200

    Bug 764977 - Manual folder Refresh should fully resync with the server

 mail/e-mail-reader-utils.c               |    2 +-
 modules/mail/e-mail-shell-view-actions.c |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/mail/e-mail-reader-utils.c b/mail/e-mail-reader-utils.c
index 179f147..d0d5cfd 100644
--- a/mail/e-mail-reader-utils.c
+++ b/mail/e-mail-reader-utils.c
@@ -786,7 +786,7 @@ e_mail_reader_refresh_folder_name (EMailReader *reader,
 
        camel_store_get_folder (
                store, folder_name,
-               CAMEL_STORE_FOLDER_INFO_FAST,
+               CAMEL_STORE_FOLDER_INFO_FAST | CAMEL_STORE_FOLDER_INFO_REFRESH,
                G_PRIORITY_DEFAULT, cancellable,
                mail_reader_refresh_folder_name_cb,
                async_context);
diff --git a/modules/mail/e-mail-shell-view-actions.c b/modules/mail/e-mail-shell-view-actions.c
index 1247ca1..026dea4 100644
--- a/modules/mail/e-mail-shell-view-actions.c
+++ b/modules/mail/e-mail-shell-view-actions.c
@@ -191,7 +191,7 @@ action_mail_account_refresh_cb (GtkAction *action,
 
        camel_store_get_folder_info (
                store, NULL,
-               CAMEL_STORE_FOLDER_INFO_RECURSIVE,
+               CAMEL_STORE_FOLDER_INFO_RECURSIVE | CAMEL_STORE_FOLDER_INFO_REFRESH,
                G_PRIORITY_DEFAULT, cancellable,
                account_refresh_folder_info_received_cb, activity);
 


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