aboutsummaryrefslogtreecommitdiffstats
path: root/calendar
diff options
context:
space:
mode:
Diffstat (limited to 'calendar')
-rw-r--r--calendar/gui/e-week-view-layout.c2
-rw-r--r--calendar/gui/e-week-view.c1
2 files changed, 2 insertions, 1 deletions
diff --git a/calendar/gui/e-week-view-layout.c b/calendar/gui/e-week-view-layout.c
index 7c39e8c459..09286d7bc3 100644
--- a/calendar/gui/e-week-view-layout.c
+++ b/calendar/gui/e-week-view-layout.c
@@ -483,7 +483,7 @@ e_week_view_layout_get_span_position (EWeekViewEvent *event,
} else {
gint day_x, day_y, rows = 0;
e_week_view_layout_get_day_position (
- end_day_of_week, multi_week_view, 1,
+ end_day_of_week - 1, multi_week_view, 1,
display_start_day, compress_weekend,
&day_x, &day_y, &rows);
diff --git a/calendar/gui/e-week-view.c b/calendar/gui/e-week-view.c
index 7e1be0a614..89e62d93b5 100644
--- a/calendar/gui/e-week-view.c
+++ b/calendar/gui/e-week-view.c
@@ -3637,6 +3637,7 @@ e_week_view_reshape_event_span (EWeekView *week_view,
"clip_height", (gdouble) text_h,
NULL);
e_canvas_item_move_absolute (span->text_item, text_x, text_y);
+ gnome_canvas_item_request_update (span->background_item);
g_object_unref (comp);
g_object_unref (layout);