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
This commit is contained in:
committed by
Georges Basile Stavracas Neto
parent
d4c070217f
commit
06cdeb61ed
@@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user