[evolution-ews] Make sure collection child sources are enabled when created



commit 0694bd64cc7f438e865f8acb97b6e8c6b43b1c64
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]