From 06cdeb61ed3cf2e071d4aefd535328066bf380c6 Mon Sep 17 00:00:00 2001 From: Joyjit Choudhury Date: Thu, 2 Mar 2017 08:34:32 +0530 Subject: [PATCH] week-view: set the first weekday for week-header & week-grid In this commit, the first weekday is set for week-header & week-grid. The issue is, the first weekday is being set only for week-view, resulting in incorrect display of weekdays in the week-header. To fix this, the first weekday for week-header & week-grid is set along with that of week-view. https://bugzilla.gnome.org/show_bug.cgi?id=779346 --- src/views/gcal-week-view.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/views/gcal-week-view.c b/src/views/gcal-week-view.c index 57f37186..ebd7bb3e 100644 --- a/src/views/gcal-week-view.c +++ b/src/views/gcal-week-view.c @@ -663,6 +663,9 @@ gcal_week_view_set_first_weekday (GcalWeekView *self, g_return_if_fail (GCAL_IS_WEEK_VIEW (self)); self->first_weekday = day_nr; + + gcal_week_header_set_first_weekday (GCAL_WEEK_HEADER (self->header), self->first_weekday); + gcal_week_grid_set_first_weekday (GCAL_WEEK_GRID (self->week_grid), self->first_weekday); } /**