diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2013-03-10 00:47:50 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2013-03-17 20:49:11 +0800 |
commit | 9318c790b4d0e8b90cde2b52dc801e9a2f2f7b02 (patch) | |
tree | 5e1240dd7e597174741a79946c0fb2bfcb3d6a0e /calendar/gui/gnome-cal.c | |
parent | 8091b6ebab8b9cbad721cfe73c638d7bfc1a495e (diff) | |
download | gsoc2013-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 'calendar/gui/gnome-cal.c')
-rw-r--r-- | calendar/gui/gnome-cal.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/calendar/gui/gnome-cal.c b/calendar/gui/gnome-cal.c index a16c782550..f2ee620942 100644 --- a/calendar/gui/gnome-cal.c +++ b/calendar/gui/gnome-cal.c @@ -963,10 +963,10 @@ get_times_for_views (GnomeCalendar *gcal, weekday = g_date_get_weekday (&date); /* Find the first working day of the week. */ - first_work_day = e_day_view_get_first_work_day (day_view); + first_work_day = e_cal_model_get_work_day_first (model); if (first_work_day != G_DATE_BAD_WEEKDAY) { - last_work_day = e_day_view_get_last_work_day (day_view); + last_work_day = e_cal_model_get_work_day_last (model); /* Now calculate the days we need to show to include * all the working days in the week. Add 1 to make it |