aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/e-day-view.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2009-08-06 09:24:53 +0800
committerMatthew Barnes <mbarnes@redhat.com>2009-08-06 09:24:53 +0800
commit6a2b0904893199ceb5b291405721845fd17a08db (patch)
tree2be4574d4e07423d7b5e197706ed01c2a613f9d2 /calendar/gui/e-day-view.c
parent9abce979580857b9273ee9efc909bfd1d3004e51 (diff)
downloadgsoc2013-evolution-6a2b0904893199ceb5b291405721845fd17a08db.tar
gsoc2013-evolution-6a2b0904893199ceb5b291405721845fd17a08db.tar.gz
gsoc2013-evolution-6a2b0904893199ceb5b291405721845fd17a08db.tar.bz2
gsoc2013-evolution-6a2b0904893199ceb5b291405721845fd17a08db.tar.lz
gsoc2013-evolution-6a2b0904893199ceb5b291405721845fd17a08db.tar.xz
gsoc2013-evolution-6a2b0904893199ceb5b291405721845fd17a08db.tar.zst
gsoc2013-evolution-6a2b0904893199ceb5b291405721845fd17a08db.zip
More refactoring of settings management.
Diffstat (limited to 'calendar/gui/e-day-view.c')
-rw-r--r--calendar/gui/e-day-view.c42
1 files changed, 41 insertions, 1 deletions
diff --git a/calendar/gui/e-day-view.c b/calendar/gui/e-day-view.c
index 7fc7bfac90..03b1b9cb51 100644
--- a/calendar/gui/e-day-view.c
+++ b/calendar/gui/e-day-view.c
@@ -611,9 +611,49 @@ day_view_constructed (GObject *object)
model = e_calendar_view_get_model (E_CALENDAR_VIEW (day_view));
shell_settings = e_cal_model_get_shell_settings (model);
- e_mutual_binding_new (
+ e_binding_new (
G_OBJECT (shell_settings), "cal-day-view-show-week-numbers",
G_OBJECT (day_view->week_number_label), "visible");
+
+ e_binding_new (
+ G_OBJECT (shell_settings), "cal-marcus-bains-show-line",
+ G_OBJECT (day_view), "marcus-bains-show-line");
+
+ e_binding_new (
+ G_OBJECT (shell_settings), "cal-marcus-bains-day-view-color",
+ G_OBJECT (day_view), "marcus-bains-day-view-color");
+
+ e_binding_new (
+ G_OBJECT (shell_settings), "cal-marcus-bains-time-bar-color",
+ G_OBJECT (day_view), "marcus-bains-time-bar-color");
+
+ e_binding_new (
+ G_OBJECT (shell_settings), "cal-time-divisions",
+ G_OBJECT (day_view), "mins-per-row");
+
+ e_binding_new (
+ G_OBJECT (shell_settings), "cal-week-start-day",
+ G_OBJECT (day_view), "week-start-day");
+
+ e_binding_new (
+ G_OBJECT (shell_settings), "cal-work-day-end-hour",
+ G_OBJECT (day_view), "work-day-end-hour");
+
+ e_binding_new (
+ G_OBJECT (shell_settings), "cal-work-day-end-minute",
+ G_OBJECT (day_view), "work-day-end-minute");
+
+ e_binding_new (
+ G_OBJECT (shell_settings), "cal-work-day-start-hour",
+ G_OBJECT (day_view), "work-day-start-hour");
+
+ e_binding_new (
+ G_OBJECT (shell_settings), "cal-work-day-start-minute",
+ G_OBJECT (day_view), "work-day-start-minute");
+
+ e_binding_new (
+ G_OBJECT (shell_settings), "cal-working-days-bitset",
+ G_OBJECT (day_view), "working-days");
}
static void