[evolution/gnome-2-32] 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/gnome-2-32] Bug #629934 - Month view defaults to Monday as start of week
- Date: Wed, 29 Sep 2010 08:54:03 +0000 (UTC)
commit 0665e3ed3ebd595c4cba6c2dd23c4aaef081e1d7
Author: Milan Crha <mcrha redhat com>
Date: Wed Sep 29 10:53: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 f7dd1d2..4860672 100644
--- a/calendar/gui/e-week-view.c
+++ b/calendar/gui/e-week-view.c
@@ -552,6 +552,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);
@@ -2008,6 +2010,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]