[evolution-mapi] Bug 747500 - Mail account connection settings change requires restart
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-mapi] Bug 747500 - Mail account connection settings change requires restart
- Date: Fri, 10 Apr 2015 05:22:43 +0000 (UTC)
commit b959fb6e6956c964ccd41f0d1b96a1cf04444458
Author: Milan Crha <mcrha redhat com>
Date: Fri Apr 10 07:22:50 2015 +0200
Bug 747500 - Mail account connection settings change requires restart
src/camel/camel-mapi-store.c | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
---
diff --git a/src/camel/camel-mapi-store.c b/src/camel/camel-mapi-store.c
index 0fed359..91578ad 100644
--- a/src/camel/camel-mapi-store.c
+++ b/src/camel/camel-mapi-store.c
@@ -2144,6 +2144,10 @@ mapi_connect_sync (CamelService *service,
uint64_t current_size = -1, receive_quota = -1, send_quota = -1;
gchar *name;
+ /* Chain up to parent's method. */
+ if (!CAMEL_SERVICE_CLASS (camel_mapi_store_parent_class)->connect_sync (service, cancellable, error))
+ return FALSE;
+
if (!camel_offline_store_get_online (CAMEL_OFFLINE_STORE (store))) {
g_set_error_literal (
error, CAMEL_SERVICE_ERROR, CAMEL_SERVICE_ERROR_UNAVAILABLE,
@@ -2252,7 +2256,8 @@ mapi_disconnect_sync (CamelService *service,
store->priv->folders_synced = FALSE;
- return TRUE;
+ /* Chain up to parent's method. */
+ return CAMEL_SERVICE_CLASS (camel_mapi_store_parent_class)->disconnect_sync (service, clean,
cancellable, error);
}
struct ScheduleUpdateData
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]