[evolution-data-server] imapx_refresh_finfo: Push a status message.
- From: Matthew Barnes <mbarnes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-data-server] imapx_refresh_finfo: Push a status message.
- Date: Sat, 21 Jan 2012 15:19:39 +0000 (UTC)
commit 22d4b3dd08f437801e218c883c11be8213b5f13a
Author: Matthew Barnes <mbarnes redhat com>
Date: Sat Jan 21 10:19:03 2012 -0500
imapx_refresh_finfo: Push a status message.
camel/providers/imapx/camel-imapx-store.c | 17 +++++++++++++++--
1 files changed, 15 insertions(+), 2 deletions(-)
---
diff --git a/camel/providers/imapx/camel-imapx-store.c b/camel/providers/imapx/camel-imapx-store.c
index 1cc4b1f..0ed414d 100644
--- a/camel/providers/imapx/camel-imapx-store.c
+++ b/camel/providers/imapx/camel-imapx-store.c
@@ -1053,16 +1053,29 @@ imapx_refresh_finfo (CamelSession *session,
CamelIMAPXStore *store,
GError **error)
{
+ CamelService *service;
+ const gchar *display_name;
+
+ service = CAMEL_SERVICE (store);
+ display_name = camel_service_get_display_name (service);
+
+ camel_operation_push_message (
+ cancellable, _("Retrieving folder list for %s"),
+ display_name);
+
if (!camel_offline_store_get_online (CAMEL_OFFLINE_STORE (store)))
- return;
+ goto exit;
if (!camel_service_connect_sync (CAMEL_SERVICE (store), error))
- return;
+ goto exit;
/* look in all namespaces */
sync_folders (store, "", FALSE, cancellable, error);
camel_store_summary_save (CAMEL_STORE_SUMMARY (store->summary));
+
+exit:
+ camel_operation_pop_message (cancellable);
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]