[evolution-mapi/gnome-3-0] Connect on demand when in online mode
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-mapi/gnome-3-0] Connect on demand when in online mode
- Date: Thu, 21 Apr 2011 09:03:33 +0000 (UTC)
commit a6842fd3380abb615b1bd303bc0c41131515251f
Author: Milan Crha <mcrha redhat com>
Date: Thu Apr 21 11:03:14 2011 +0200
Connect on demand when in online mode
src/camel/camel-mapi-store.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/camel/camel-mapi-store.c b/src/camel/camel-mapi-store.c
index 3e7b0da..e590a08 100644
--- a/src/camel/camel-mapi-store.c
+++ b/src/camel/camel-mapi-store.c
@@ -1718,7 +1718,7 @@ mapi_connect_sync (CamelService *service,
CamelMapiStorePrivate *priv = store->priv;
guint16 event_mask = 0;
- if (service->status == CAMEL_SERVICE_DISCONNECTED) {
+ if (!camel_offline_store_get_online (CAMEL_OFFLINE_STORE (store))) {
return FALSE;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]