[evolution/gnome-2-30] Bug #623029 - Work week days not restored on start



commit 5b567784eed37f24a0594016d308c4b62a06e6bf
Author: Milan Crha <mcrha redhat com>
Date:   Mon Jun 28 13:19:27 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 9fb0a78..cef0034 100644
--- a/calendar/gui/e-day-view.c
+++ b/calendar/gui/e-day-view.c
@@ -2613,6 +2613,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]