[evolution-data-server] camel_store_create_folder_sync(): Add a status message.



commit 2f35e0c0ee312f332b785438a2108045837e3251
Author: Matthew Barnes <mbarnes redhat com>
Date:   Mon May 23 12:51:00 2011 -0400

    camel_store_create_folder_sync(): Add a status message.

 camel/camel-store.c |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/camel/camel-store.c b/camel/camel-store.c
index b80d3dd..5613ef7 100644
--- a/camel/camel-store.c
+++ b/camel/camel-store.c
@@ -2767,10 +2767,15 @@ camel_store_create_folder_sync (CamelStore *store,
 		return NULL;
 	}
 
+	camel_operation_push_message (
+		cancellable, _("Creating folder '%s'"), folder_name);
+
 	fi = class->create_folder_sync (
 		store, parent_name, folder_name, cancellable, error);
 	CAMEL_CHECK_GERROR (store, create_folder_sync, fi != NULL, error);
 
+	camel_operation_pop_message (cancellable);
+
 	camel_store_unlock (store, CAMEL_STORE_FOLDER_LOCK);
 
 	return fi;



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