[california] Make day of week labels visible again: Closes bgo#726081
- From: Jim Nelson <jnelson src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [california] Make day of week labels visible again: Closes bgo#726081
- Date: Fri, 21 Mar 2014 01:35:55 +0000 (UTC)
commit 77cd8150d9b04a2718d9c1c89a136833f83d7fa1
Author: Jim Nelson <jim yorba org>
Date: Thu Mar 20 18:35:05 2014 -0700
Make day of week labels visible again: Closes bgo#726081
The initialization needs to happen after the signal handlers are in
place.
src/view/month/month-controllable.vala | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/view/month/month-controllable.vala b/src/view/month/month-controllable.vala
index de49d3d..2ec0780 100644
--- a/src/view/month/month-controllable.vala
+++ b/src/view/month/month-controllable.vala
@@ -37,7 +37,7 @@ public class Controllable : Gtk.Grid, View.Controllable {
/**
* @inheritDoc
*/
- public Calendar.FirstOfWeek first_of_week { get; set; default = Calendar.FirstOfWeek.SUNDAY; }
+ public Calendar.FirstOfWeek first_of_week { get; set; }
/**
* Show days outside the current month.
@@ -115,6 +115,7 @@ public class Controllable : Gtk.Grid, View.Controllable {
// update now that signal handlers are in place
month_of_year = Calendar.System.today.month_of_year();
+ first_of_week = Calendar.FirstOfWeek.SUNDAY;
}
~Controllable() {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]