diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2013-03-07 04:58:21 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2013-03-17 20:49:11 +0800 |
commit | 8091b6ebab8b9cbad721cfe73c638d7bfc1a495e (patch) | |
tree | 8db19034247861a92408d633b86514eb59fe12f1 /modules | |
parent | 854dfb8075b9b1d275bcc50c9ca327059e2320ac (diff) | |
download | gsoc2013-evolution-8091b6ebab8b9cbad721cfe73c638d7bfc1a495e.tar gsoc2013-evolution-8091b6ebab8b9cbad721cfe73c638d7bfc1a495e.tar.gz gsoc2013-evolution-8091b6ebab8b9cbad721cfe73c638d7bfc1a495e.tar.bz2 gsoc2013-evolution-8091b6ebab8b9cbad721cfe73c638d7bfc1a495e.tar.lz gsoc2013-evolution-8091b6ebab8b9cbad721cfe73c638d7bfc1a495e.tar.xz gsoc2013-evolution-8091b6ebab8b9cbad721cfe73c638d7bfc1a495e.tar.zst gsoc2013-evolution-8091b6ebab8b9cbad721cfe73c638d7bfc1a495e.zip |
EDayView: Split working days into separate boolean properties.
Far easier to deal with than flags.
Diffstat (limited to 'modules')
-rw-r--r-- | modules/settings/e-settings-calendar-view.c | 34 |
1 files changed, 32 insertions, 2 deletions
diff --git a/modules/settings/e-settings-calendar-view.c b/modules/settings/e-settings-calendar-view.c index e1a0d47f2f..ced8a013cd 100644 --- a/modules/settings/e-settings-calendar-view.c +++ b/modules/settings/e-settings-calendar-view.c @@ -84,8 +84,38 @@ settings_calendar_view_constructed (GObject *object) G_BINDING_SYNC_CREATE); g_object_bind_property ( - shell_settings, "cal-working-days-bitset", - extensible, "working-days", + 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); } |