[evolution-mapi] Bug #626173 - Load the store after cache creation
- From: Bharath Acharya <abharath src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-mapi] Bug #626173 - Load the store after cache creation
- Date: Mon, 16 Aug 2010 06:55:35 +0000 (UTC)
commit 64775ec109c1a9dfff80c7ba00195b56da3abb9e
Author: Punit Jain <jpunit novell com>
Date: Mon Aug 16 12:16:40 2010 +0530
Bug #626173 - Load the store after cache creation
src/calendar/e-cal-backend-mapi.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/calendar/e-cal-backend-mapi.c b/src/calendar/e-cal-backend-mapi.c
index 0701804..b341d3f 100644
--- a/src/calendar/e-cal-backend-mapi.c
+++ b/src/calendar/e-cal-backend-mapi.c
@@ -1379,7 +1379,6 @@ ecbm_connect (ECalBackendMAPI *cbmapi, GError **perror)
break;
}
- e_cal_backend_store_load (priv->store);
/* spawn a new thread for caching the calendar items */
thread = g_thread_create ((GThreadFunc) cache_init, cbmapi, FALSE, &error);
if (!thread) {
@@ -1450,6 +1449,8 @@ ecbm_open (ECalBackend *backend, EDataCal *cal, gboolean only_if_exists, const g
g_propagate_error (perror, EDC_ERROR_EX (OtherError, _("Could not create cache file")));
return;
}
+
+ e_cal_backend_store_load (priv->store);
e_cal_backend_store_set_default_timezone (priv->store, priv->default_zone);
/* Not for remote */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]