[evolution] Bug #629934 - Month view defaults to Monday as start of week
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution] Bug #629934 - Month view defaults to Monday as start of week
- Date: Wed, 29 Sep 2010 08:53:01 +0000 (UTC)
commit 82f0d573e483ce11c03bb1e6e6461520882e0723
Author: Milan Crha <mcrha redhat com>
Date: Wed Sep 29 10:52:38 2010 +0200
Bug #629934 - Month view defaults to Monday as start of week
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 8f549ee..e6524fe 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))
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]