aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/e-day-view.c
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2009-08-01 01:45:41 +0800
committerMatthew Barnes <mbarnes@redhat.com>2009-08-11 04:34:41 +0800
commitc71bb120b455dae7614951e835a0a47f3a9c4c97 (patch)
treee47af4ac8a1e76ce0e9e67c55ce84ecedcaa88a6 /calendar/gui/e-day-view.c
parent6163cfd4a02a4adb490eaf0a0c0bde66e907785c (diff)
downloadgsoc2013-evolution-c71bb120b455dae7614951e835a0a47f3a9c4c97.tar.gz
gsoc2013-evolution-c71bb120b455dae7614951e835a0a47f3a9c4c97.tar.zst
gsoc2013-evolution-c71bb120b455dae7614951e835a0a47f3a9c4c97.zip
Bug #590392 - Show selected day in day view's second timezone column
Diffstat (limited to 'calendar/gui/e-day-view.c')
-rw-r--r--calendar/gui/e-day-view.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/calendar/gui/e-day-view.c b/calendar/gui/e-day-view.c
index e50197b963..bb8d1f0b57 100644
--- a/calendar/gui/e-day-view.c
+++ b/calendar/gui/e-day-view.c
@@ -817,6 +817,7 @@ static void
time_range_changed_cb (ECalModel *model, time_t start_time, time_t end_time, gpointer user_data)
{
EDayView *day_view = E_DAY_VIEW (user_data);
+ EDayViewTimeItem *eti;
time_t lower;
g_return_if_fail (E_IS_DAY_VIEW (day_view));
@@ -846,6 +847,11 @@ time_range_changed_cb (ECalModel *model, time_t start_time, time_t end_time, gpo
if (day_view->selection_start_row != -1)
e_day_view_ensure_rows_visible (day_view, day_view->selection_start_row, day_view->selection_start_row);
+
+ /* update the time canvas to show proper date in it */
+ eti = E_DAY_VIEW_TIME_ITEM (day_view->time_canvas_item);
+ if (eti && eti->second_zone)
+ gtk_widget_queue_draw (day_view->time_canvas);
}
static void