diff options
author | Milan Crha <mcrha@redhat.com> | 2010-11-02 16:42:36 +0800 |
---|---|---|
committer | Rodrigo Moya <rodrigo@gnome-db.org> | 2010-11-10 06:33:21 +0800 |
commit | 6c94cad36a5142af4792562a2898e6eefcd49ee5 (patch) | |
tree | 50c21925e6c3b48213a4fd3e42e5a114a164b86a /calendar | |
parent | 26afa6081c3d9826dbae78236dd712fad8b7c340 (diff) | |
download | gsoc2013-evolution-6c94cad36a5142af4792562a2898e6eefcd49ee5.tar gsoc2013-evolution-6c94cad36a5142af4792562a2898e6eefcd49ee5.tar.gz gsoc2013-evolution-6c94cad36a5142af4792562a2898e6eefcd49ee5.tar.bz2 gsoc2013-evolution-6c94cad36a5142af4792562a2898e6eefcd49ee5.tar.lz gsoc2013-evolution-6c94cad36a5142af4792562a2898e6eefcd49ee5.tar.xz gsoc2013-evolution-6c94cad36a5142af4792562a2898e6eefcd49ee5.tar.zst gsoc2013-evolution-6c94cad36a5142af4792562a2898e6eefcd49ee5.zip |
Bug #632941 - Calendar ignores preference "show/hide end times"
Diffstat (limited to 'calendar')
-rw-r--r-- | calendar/gui/e-week-view.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/calendar/gui/e-week-view.c b/calendar/gui/e-week-view.c index c151ccbfa0..c964d1ebab 100644 --- a/calendar/gui/e-week-view.c +++ b/calendar/gui/e-week-view.c @@ -2080,7 +2080,7 @@ e_week_view_set_show_event_end_times (EWeekView *week_view, { g_return_if_fail (E_IS_WEEK_VIEW (week_view)); - if (week_view->show_event_end_times != show_event_end_times) + if (week_view->show_event_end_times == show_event_end_times) return; week_view->show_event_end_times = show_event_end_times; @@ -2088,6 +2088,9 @@ e_week_view_set_show_event_end_times (EWeekView *week_view, week_view->events_need_reshape = TRUE; e_week_view_check_layout (week_view); + gtk_widget_queue_draw (week_view->titles_canvas); + gtk_widget_queue_draw (week_view->main_canvas); + g_object_notify (G_OBJECT (week_view), "show-event-end-times"); } |