[evolution-ews/gnome-3-16] Make sure collection child sources are enabled when created
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-ews/gnome-3-16] Make sure collection child sources are enabled when created
- Date: Thu, 25 Jun 2015 12:37:27 +0000 (UTC)
commit 36e36eec6dd66c5e083fe136167f620cab14dfca
Author: Milan Crha <mcrha redhat com>
Date: Wed Jun 17 18:09:47 2015 +0200
Make sure collection child sources are enabled when created
It could happen that the child sources were disabled, but when they
were claimed again they were not enabled, which made them hidden
for a user.
src/collection/e-ews-backend.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/collection/e-ews-backend.c b/src/collection/e-ews-backend.c
index 24f3d5b..fe4b064 100644
--- a/src/collection/e-ews-backend.c
+++ b/src/collection/e-ews-backend.c
@@ -188,6 +188,7 @@ ews_backend_new_child (EEwsBackend *backend,
display_name = e_ews_folder_get_name (folder);
e_source_set_display_name (source, display_name);
+ e_source_set_enabled (source, TRUE);
switch (e_ews_folder_get_folder_type (folder)) {
case E_EWS_FOLDER_TYPE_CALENDAR:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]