[evolution-data-server] I#192 - Collection accounts: Do not suddenly enable disabled sub-sources
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-data-server] I#192 - Collection accounts: Do not suddenly enable disabled sub-sources
- Date: Wed, 19 Feb 2020 10:16:49 +0000 (UTC)
commit 9f9c619e039a7dfac72ef03382c88d053b4b7baa
Author: Milan Crha <mcrha redhat com>
Date: Wed Feb 19 11:18:20 2020 +0100
I#192 - Collection accounts: Do not suddenly enable disabled sub-sources
Closes https://gitlab.gnome.org/GNOME/evolution-data-server/issues/192
src/libebackend/e-webdav-collection-backend.c | 1 -
src/modules/google-backend/module-google-backend.c | 1 -
2 files changed, 2 deletions(-)
---
diff --git a/src/libebackend/e-webdav-collection-backend.c b/src/libebackend/e-webdav-collection-backend.c
index d77932034..cc1f67e3f 100644
--- a/src/libebackend/e-webdav-collection-backend.c
+++ b/src/libebackend/e-webdav-collection-backend.c
@@ -199,7 +199,6 @@ webdav_collection_add_found_source (ECollectionBackend *collection,
e_source_set_display_name (source, display_name);
e_source_webdav_set_display_name (webdav_extension, display_name);
- e_source_set_enabled (source, TRUE);
if (source_type != E_WEBDAV_DISCOVER_SUPPORTS_CONTACTS) {
/* Also check whether the color format is as expected; cannot
diff --git a/src/modules/google-backend/module-google-backend.c
b/src/modules/google-backend/module-google-backend.c
index c53c83491..2d1091225 100644
--- a/src/modules/google-backend/module-google-backend.c
+++ b/src/modules/google-backend/module-google-backend.c
@@ -431,7 +431,6 @@ google_add_task_list (ECollectionBackend *collection,
e_source_resource_set_identity (resource, identity);
e_source_set_display_name (source, display_name);
- e_source_set_enabled (source, TRUE);
collection_extension = e_source_get_extension (
collection_source, E_SOURCE_EXTENSION_COLLECTION);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]