aboutsummaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2013-03-10 00:47:50 +0800
committerMatthew Barnes <mbarnes@redhat.com>2013-03-17 20:49:11 +0800
commit9318c790b4d0e8b90cde2b52dc801e9a2f2f7b02 (patch)
tree5e1240dd7e597174741a79946c0fb2bfcb3d6a0e /modules
parent8091b6ebab8b9cbad721cfe73c638d7bfc1a495e (diff)
downloadgsoc2013-evolution-9318c790b4d0e8b90cde2b52dc801e9a2f2f7b02.tar
gsoc2013-evolution-9318c790b4d0e8b90cde2b52dc801e9a2f2f7b02.tar.gz
gsoc2013-evolution-9318c790b4d0e8b90cde2b52dc801e9a2f2f7b02.tar.bz2
gsoc2013-evolution-9318c790b4d0e8b90cde2b52dc801e9a2f2f7b02.tar.lz
gsoc2013-evolution-9318c790b4d0e8b90cde2b52dc801e9a2f2f7b02.tar.xz
gsoc2013-evolution-9318c790b4d0e8b90cde2b52dc801e9a2f2f7b02.tar.zst
gsoc2013-evolution-9318c790b4d0e8b90cde2b52dc801e9a2f2f7b02.zip
EDayView: Move "work-day-*" properties to ECalModel.
EWeekView would like to use them too, please.
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 ***/