diff options
author | Milan Crha <mcrha@redhat.com> | 2010-09-29 16:52:38 +0800 |
---|---|---|
committer | Milan Crha <mcrha@redhat.com> | 2010-09-29 16:52:38 +0800 |
commit | 82f0d573e483ce11c03bb1e6e6461520882e0723 (patch) | |
tree | 011d3b068a42a58efcebf30556ef01c2ec1861df /calendar | |
parent | 2a772badda42e30da739c944c29b80bcdbb58b1b (diff) | |
download | gsoc2013-evolution-82f0d573e483ce11c03bb1e6e6461520882e0723.tar.gz gsoc2013-evolution-82f0d573e483ce11c03bb1e6e6461520882e0723.tar.zst gsoc2013-evolution-82f0d573e483ce11c03bb1e6e6461520882e0723.zip |
Bug #629934 - Month view defaults to Monday as start of week
Diffstat (limited to 'calendar')
-rw-r--r-- | calendar/gui/e-week-view.c | 3 |
1 files changed, 3 insertions, 0 deletions
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)) |