[evolution-ews] I#67 - Be able to edit display name of a calendar



commit 237be00bfe300aba7498bc79f98c010c1d5567ae
Author: Milan Crha <mcrha redhat com>
Date:   Wed Jan 8 17:25:43 2020 +0100

    I#67 - Be able to edit display name of a calendar
    
    Closes https://gitlab.gnome.org/GNOME/evolution-ews/issues/67

 src/collection/e-ews-backend.c | 7 +++++++
 1 file changed, 7 insertions(+)
---
diff --git a/src/collection/e-ews-backend.c b/src/collection/e-ews-backend.c
index 249ba950..ea7c7518 100644
--- a/src/collection/e-ews-backend.c
+++ b/src/collection/e-ews-backend.c
@@ -747,6 +747,13 @@ ews_backend_constructed (GObject *object)
                webdav_extension = e_source_get_extension (source, E_SOURCE_EXTENSION_WEBDAV_BACKEND);
                e_source_webdav_unset_temporary_ssl_trust (webdav_extension);
        }
+
+       if (e_source_has_extension (source, E_SOURCE_EXTENSION_COLLECTION)) {
+               ESourceCollection *collection_extension;
+
+               collection_extension = e_source_get_extension (source, E_SOURCE_EXTENSION_COLLECTION);
+               e_source_collection_set_allow_sources_rename (collection_extension, TRUE);
+       }
 }
 
 static void


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]