From 7727f426a2e7d4ef4e7b90da810052ce36aae789 Mon Sep 17 00:00:00 2001 From: Milan Crha Date: Tue, 19 Nov 2013 14:40:44 +0100 Subject: Bug #704832 - Event removal doesn't update week/month views properly --- calendar/gui/e-week-view-layout.c | 2 +- calendar/gui/e-week-view.c | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) 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); -- cgit v1.2.3