[evolution-data-server] Bug 680106 - Missing status message in camel_folder_refresh_info_sync()
- From: Matthew Barnes <mbarnes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-data-server] Bug 680106 - Missing status message in camel_folder_refresh_info_sync()
- Date: Tue, 17 Jul 2012 17:34:24 +0000 (UTC)
commit c975a20cc28b8827a4072d4b29d778ca605b8cac
Author: Matthew Barnes <mbarnes redhat com>
Date: Tue Jul 17 13:33:54 2012 -0400
Bug 680106 - Missing status message in camel_folder_refresh_info_sync()
camel/camel-folder.c | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
---
diff --git a/camel/camel-folder.c b/camel/camel-folder.c
index 4fbec65..a0da36e 100644
--- a/camel/camel-folder.c
+++ b/camel/camel-folder.c
@@ -3965,6 +3965,8 @@ camel_folder_refresh_info_sync (CamelFolder *folder,
GError **error)
{
CamelFolderClass *class;
+ const gchar *display_name;
+ const gchar *message;
gboolean success;
g_return_val_if_fail (CAMEL_IS_FOLDER (folder), FALSE);
@@ -3980,9 +3982,15 @@ camel_folder_refresh_info_sync (CamelFolder *folder,
return FALSE;
}
+ message = _("Refreshing folder '%s'");
+ display_name = camel_folder_get_display_name (folder);
+ camel_operation_push_message (cancellable, message, display_name);
+
success = class->refresh_info_sync (folder, cancellable, error);
CAMEL_CHECK_GERROR (folder, refresh_info_sync, success, error);
+ camel_operation_pop_message (cancellable);
+
camel_folder_unlock (folder, CAMEL_FOLDER_REC_LOCK);
return success;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]