aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/e-day-view-main-item.c
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 /calendar/gui/e-day-view-main-item.c
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 'calendar/gui/e-day-view-main-item.c')
-rw-r--r--calendar/gui/e-day-view-main-item.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/calendar/gui/e-day-view-main-item.c b/calendar/gui/e-day-view-main-item.c
index 9d6b07aa13..70437cafcc 100644
--- a/calendar/gui/e-day-view-main-item.c
+++ b/calendar/gui/e-day-view-main-item.c
@@ -1077,7 +1077,7 @@ day_view_main_item_draw (GnomeCanvasItem *canvas_item,
day_x = day_view->day_offsets[day] - x;
day_w = day_view->day_widths[day];
- if (e_day_view_get_work_day (day_view, weekday)) {
+ if (e_cal_model_get_work_day (model, weekday)) {
if (can_draw_in_region (draw_region, day_x, 0 - y, day_w, work_day_start_y - (0 - y))) {
cairo_save (cr);
gdk_cairo_set_source_color (cr, &day_view->colors[E_DAY_VIEW_COLOR_BG_NOT_WORKING]);