[evolution] Bug #623029 - Work week days not restored on start



commit 8cc61ce38cfdab52e9f7705b7852202f0773b6d5
Author: Milan Crha <mcrha redhat com>
Date:   Mon Jun 28 13:16:56 2010 +0200

    Bug #623029 - Work week days not restored on start

 calendar/gui/e-day-view.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/calendar/gui/e-day-view.c b/calendar/gui/e-day-view.c
index de4b9b3..3d5969a 100644
--- a/calendar/gui/e-day-view.c
+++ b/calendar/gui/e-day-view.c
@@ -2645,6 +2645,9 @@ e_day_view_recalc_day_starts (EDayView *day_view,
 	str = g_strdup_printf (_("Week %d"), g_date_get_iso8601_week_of_year (&dt));
 	gtk_label_set_text (GTK_LABEL (day_view->week_number_label), str);
 	g_free (str);
+
+	if (day_view->work_week_view)
+		e_day_view_recalc_work_week (day_view);
 }
 
 /* Whether we are displaying a work-week, in which case the display always



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]