diff options
author | Milan Crha <mcrha@redhat.com> | 2013-11-19 21:40:44 +0800 |
---|---|---|
committer | Milan Crha <mcrha@redhat.com> | 2013-11-19 21:40:44 +0800 |
commit | 7727f426a2e7d4ef4e7b90da810052ce36aae789 (patch) | |
tree | 87eb17ab7da0c9be6c3fd234380e481bd4d63075 | |
parent | 1db9434e359ff02183d9bf334f4abb3732607e19 (diff) | |
download | gsoc2013-evolution-7727f426a2e7d4ef4e7b90da810052ce36aae789.tar gsoc2013-evolution-7727f426a2e7d4ef4e7b90da810052ce36aae789.tar.gz gsoc2013-evolution-7727f426a2e7d4ef4e7b90da810052ce36aae789.tar.bz2 gsoc2013-evolution-7727f426a2e7d4ef4e7b90da810052ce36aae789.tar.lz gsoc2013-evolution-7727f426a2e7d4ef4e7b90da810052ce36aae789.tar.xz gsoc2013-evolution-7727f426a2e7d4ef4e7b90da810052ce36aae789.tar.zst gsoc2013-evolution-7727f426a2e7d4ef4e7b90da810052ce36aae789.zip |
Bug #704832 - Event removal doesn't update week/month views properly
-rw-r--r-- | calendar/gui/e-week-view-layout.c | 2 | ||||
-rw-r--r-- | calendar/gui/e-week-view.c | 1 |
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); |