[evolution-data-server] Bug #669034 - [IMAP] Shows "Unknown background operation" on start



commit 70abbc7caabdad34b25c94b9ab4013934d757ae0
Author: Milan Crha <mcrha redhat com>
Date:   Thu Apr 26 14:41:09 2012 +0200

    Bug #669034 - [IMAP] Shows "Unknown background operation" on start

 camel/providers/imap/camel-imap-store.c |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/camel/providers/imap/camel-imap-store.c b/camel/providers/imap/camel-imap-store.c
index 25c789a..84b6a0d 100644
--- a/camel/providers/imap/camel-imap-store.c
+++ b/camel/providers/imap/camel-imap-store.c
@@ -2973,6 +2973,10 @@ refresh_refresh (CamelSession *session,
 
 	camel_service_lock (service, CAMEL_SERVICE_REC_CONNECT_LOCK);
 
+	camel_operation_push_message (cancellable,
+		_("Retrieving list of folders at '%s'"),
+		camel_service_get_display_name (service));
+
 	if (!camel_imap_store_connected (store, error))
 		goto done;
 
@@ -2990,6 +2994,7 @@ refresh_refresh (CamelSession *session,
 	camel_store_summary_save (CAMEL_STORE_SUMMARY (store->summary));
 
 done:
+	camel_operation_pop_message (cancellable);
 	camel_service_unlock (service, CAMEL_SERVICE_REC_CONNECT_LOCK);
 
 	g_free (namespace);



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