[evolution-mapi] Bug 590002 - folder tree doesn't show up after removing cache



commit 807915c23482ab982aa61bf6be8b5662a6915b99
Author: Johnny Jacob <jjohnny novell com>
Date:   Wed Aug 26 17:39:54 2009 +0530

    Bug 590002 - folder tree doesn't show up after removing cache

 src/camel/camel-mapi-store.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/camel/camel-mapi-store.c b/src/camel/camel-mapi-store.c
index 94faa97..71bafb8 100644
--- a/src/camel/camel-mapi-store.c
+++ b/src/camel/camel-mapi-store.c
@@ -1347,7 +1347,8 @@ mapi_get_folder_info(CamelStore *store, const char *top, guint32 flags, CamelExc
 		}
 	}
 
-	if (check_for_connection((CamelService *)store, ex)) {
+	if (check_for_connection((CamelService *)store, ex) || 
+	    ((CamelService *)store)->status == CAMEL_SERVICE_CONNECTING) {
 		mapi_folders_sync (mapi_store, top, flags, ex);
 
 		if (camel_exception_is_set (ex)) {



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