aboutsummaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/settings/e-settings-cal-model.c35
-rw-r--r--modules/settings/e-settings-calendar-view.c35
2 files changed, 35 insertions, 35 deletions
diff --git a/modules/settings/e-settings-cal-model.c b/modules/settings/e-settings-cal-model.c
index 5dd55f560e..b973ebdc21 100644
--- a/modules/settings/e-settings-cal-model.c
+++ b/modules/settings/e-settings-cal-model.c
@@ -96,6 +96,41 @@ settings_cal_model_constructed (GObject *object)
G_BINDING_SYNC_CREATE);
g_object_bind_property (
+ shell_settings, "cal-working-days-monday",
+ extensible, "work-day-monday",
+ G_BINDING_SYNC_CREATE);
+
+ g_object_bind_property (
+ shell_settings, "cal-working-days-tuesday",
+ extensible, "work-day-tuesday",
+ G_BINDING_SYNC_CREATE);
+
+ g_object_bind_property (
+ shell_settings, "cal-working-days-wednesday",
+ extensible, "work-day-wednesday",
+ G_BINDING_SYNC_CREATE);
+
+ g_object_bind_property (
+ shell_settings, "cal-working-days-thursday",
+ extensible, "work-day-thursday",
+ G_BINDING_SYNC_CREATE);
+
+ g_object_bind_property (
+ shell_settings, "cal-working-days-friday",
+ extensible, "work-day-friday",
+ G_BINDING_SYNC_CREATE);
+
+ g_object_bind_property (
+ shell_settings, "cal-working-days-saturday",
+ extensible, "work-day-saturday",
+ G_BINDING_SYNC_CREATE);
+
+ g_object_bind_property (
+ shell_settings, "cal-working-days-sunday",
+ extensible, "work-day-sunday",
+ G_BINDING_SYNC_CREATE);
+
+ g_object_bind_property (
shell_settings, "cal-work-day-end-hour",
extensible, "work-day-end-hour",
G_BINDING_SYNC_CREATE);
diff --git a/modules/settings/e-settings-calendar-view.c b/modules/settings/e-settings-calendar-view.c
index ced8a013cd..12614e6fd9 100644
--- a/modules/settings/e-settings-calendar-view.c
+++ b/modules/settings/e-settings-calendar-view.c
@@ -82,41 +82,6 @@ settings_calendar_view_constructed (GObject *object)
shell_settings, "cal-marcus-bains-time-bar-color",
extensible, "marcus-bains-time-bar-color",
G_BINDING_SYNC_CREATE);
-
- g_object_bind_property (
- shell_settings, "cal-working-days-monday",
- extensible, "work-day-monday",
- G_BINDING_SYNC_CREATE);
-
- g_object_bind_property (
- shell_settings, "cal-working-days-tuesday",
- extensible, "work-day-tuesday",
- G_BINDING_SYNC_CREATE);
-
- g_object_bind_property (
- shell_settings, "cal-working-days-wednesday",
- extensible, "work-day-wednesday",
- G_BINDING_SYNC_CREATE);
-
- g_object_bind_property (
- shell_settings, "cal-working-days-thursday",
- extensible, "work-day-thursday",
- G_BINDING_SYNC_CREATE);
-
- g_object_bind_property (
- shell_settings, "cal-working-days-friday",
- extensible, "work-day-friday",
- G_BINDING_SYNC_CREATE);
-
- g_object_bind_property (
- shell_settings, "cal-working-days-saturday",
- extensible, "work-day-saturday",
- G_BINDING_SYNC_CREATE);
-
- g_object_bind_property (
- shell_settings, "cal-working-days-sunday",
- extensible, "work-day-sunday",
- G_BINDING_SYNC_CREATE);
}
/*** EWeekView ***/