From 82f0d573e483ce11c03bb1e6e6461520882e0723 Mon Sep 17 00:00:00 2001 From: Milan Crha Date: Wed, 29 Sep 2010 10:52:38 +0200 Subject: Bug #629934 - Month view defaults to Monday as start of week --- calendar/gui/e-week-view.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'calendar') diff --git a/calendar/gui/e-week-view.c b/calendar/gui/e-week-view.c index 8f549ee165..e6524fe731 100644 --- a/calendar/gui/e-week-view.c +++ b/calendar/gui/e-week-view.c @@ -555,6 +555,8 @@ week_view_constructed (GObject *object) calendar_view = E_CALENDAR_VIEW (object); model = e_calendar_view_get_model (calendar_view); + e_week_view_recalc_display_start_day (E_WEEK_VIEW (object)); + g_signal_connect_swapped ( model, "notify::week-start-day", G_CALLBACK (week_view_notify_week_start_day_cb), object); @@ -2011,6 +2013,7 @@ e_week_view_set_multi_week_view (EWeekView *week_view, gtk_adjustment_set_page_increment (adjustment, page_increment); gtk_adjustment_set_page_size (adjustment, page_size); + e_week_view_recalc_display_start_day (week_view); e_week_view_recalc_cell_sizes (week_view); if (g_date_valid (&week_view->first_day_shown)) -- cgit v1.2.3