[evolution/email-factory-3-4: 15/53] Add debugging.



commit 047c67010c88a3eb3945c8241deda040088442cd
Author: Srinivasa Ragavan <sragavan gnome org>
Date:   Thu Nov 17 12:25:34 2011 +0530

    Add debugging.

 libemail-engine/e-mail-session.c    |    4 +++-
 libemail-engine/mail-folder-cache.c |    2 +-
 2 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/libemail-engine/e-mail-session.c b/libemail-engine/e-mail-session.c
index 7938230..0ee6989 100644
--- a/libemail-engine/e-mail-session.c
+++ b/libemail-engine/e-mail-session.c
@@ -1554,8 +1554,10 @@ e_mail_session_uri_to_folder_sync (EMailSession *session,
 		CAMEL_SESSION (session), folder_uri,
 		&store, &folder_name, error);
 
-	if (!success)
+	if (!success) {
+		printf("Unable to parse\n");
 		return NULL;
+	}
 
 	folder = camel_store_get_folder_sync (
 		store, folder_name, flags, cancellable, error);
diff --git a/libemail-engine/mail-folder-cache.c b/libemail-engine/mail-folder-cache.c
index d271951..a8e6893 100644
--- a/libemail-engine/mail-folder-cache.c
+++ b/libemail-engine/mail-folder-cache.c
@@ -1147,7 +1147,7 @@ mail_folder_cache_note_store (MailFolderCache *self,
 
 	g_mutex_lock (self->priv->stores_mutex);
 
-	printf("Loading: %s\n", camel_service_get_display_name ((CamelService *) store));
+	printf("Loading: %s %s\n", camel_service_get_display_name ((CamelService *) store), camel_service_get_uid ((CamelService *) store));
 	si = g_hash_table_lookup (self->priv->stores, store);
 	if (si == NULL) {
 		si = g_malloc0 (sizeof (*si));



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