aboutsummaryrefslogtreecommitdiffstats
path: root/modules/calendar/e-cal-config-view.c
diff options
context:
space:
mode:
Diffstat (limited to 'modules/calendar/e-cal-config-view.c')
-rw-r--r--modules/calendar/e-cal-config-view.c31
1 files changed, 6 insertions, 25 deletions
diff --git a/modules/calendar/e-cal-config-view.c b/modules/calendar/e-cal-config-view.c
index c1630223eb..e2f769c501 100644
--- a/modules/calendar/e-cal-config-view.c
+++ b/modules/calendar/e-cal-config-view.c
@@ -37,6 +37,12 @@ cal_config_view_constructed (GObject *object)
shell = e_shell_get_default ();
shell_settings = e_shell_get_shell_settings (shell);
+ g_object_bind_property (
+ shell_settings, "cal-time-divisions",
+ extensible, "time-divisions",
+ G_BINDING_BIDIRECTIONAL |
+ G_BINDING_SYNC_CREATE);
+
/*** EDayView ***/
if (E_IS_DAY_VIEW (extensible)) {
@@ -62,31 +68,6 @@ cal_config_view_constructed (GObject *object)
G_BINDING_SYNC_CREATE);
g_object_bind_property (
- shell_settings, "cal-time-divisions",
- extensible, "mins-per-row",
- G_BINDING_SYNC_CREATE);
-
- g_object_bind_property (
- shell_settings, "cal-work-day-end-hour",
- extensible, "work-day-end-hour",
- G_BINDING_SYNC_CREATE);
-
- g_object_bind_property (
- shell_settings, "cal-work-day-end-minute",
- extensible, "work-day-end-minute",
- G_BINDING_SYNC_CREATE);
-
- g_object_bind_property (
- shell_settings, "cal-work-day-start-hour",
- extensible, "work-day-start-hour",
- G_BINDING_SYNC_CREATE);
-
- g_object_bind_property (
- shell_settings, "cal-work-day-start-minute",
- extensible, "work-day-start-minute",
- G_BINDING_SYNC_CREATE);
-
- g_object_bind_property (
shell_settings, "cal-working-days-bitset",
extensible, "working-days",
G_BINDING_SYNC_CREATE);