[evolution/wip/gsettings] Bug #632941 - Calendar ignores preference "show/hide end times"
- From: Rodrigo Moya <rodrigo src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution/wip/gsettings] Bug #632941 - Calendar ignores preference "show/hide end times"
- Date: Tue, 9 Nov 2010 22:36:12 +0000 (UTC)
commit 6c94cad36a5142af4792562a2898e6eefcd49ee5
Author: Milan Crha <mcrha redhat com>
Date: Tue Nov 2 09:42:36 2010 +0100
Bug #632941 - Calendar ignores preference "show/hide end times"
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 c151ccb..c964d1e 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");
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]