[evolution] Local calendar config option to open for writing does nothing



commit 3393f9f83d4ea3432e70be0bb53ef64a9d7ef583
Author: Milan Crha <mcrha redhat com>
Date:   Fri May 31 08:53:08 2019 +0200

    Local calendar config option to open for writing does nothing
    
    The "Allow Evolution to update the file" option for On This Computer
    calendars with custom files did nothing. The change requires
    https://gitlab.gnome.org/GNOME/evolution-data-server/commit/524ea7475

 src/modules/cal-config-local/evolution-cal-config-local.c | 5 +++++
 1 file changed, 5 insertions(+)
---
diff --git a/src/modules/cal-config-local/evolution-cal-config-local.c 
b/src/modules/cal-config-local/evolution-cal-config-local.c
index dad56b6439..9ed39040ef 100644
--- a/src/modules/cal-config-local/evolution-cal-config-local.c
+++ b/src/modules/cal-config-local/evolution-cal-config-local.c
@@ -233,6 +233,11 @@ cal_config_local_insert_widgets (ESourceConfigBackend *backend,
                cal_config_local_custom_file_to_active,
                cal_config_local_active_to_custom_file,
                context, (GDestroyNotify) NULL);
+
+       e_binding_bind_property (
+               extension, "writable",
+               context->writable_checkbox, "active",
+               G_BINDING_BIDIRECTIONAL | G_BINDING_SYNC_CREATE);
 }
 
 static gboolean


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