aboutsummaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorMichael Terry <mike@mterry.name>2011-02-23 14:07:19 -0500
committerMichael Terry <mike@mterry.name>2011-02-23 14:07:19 -0500
commitb3a34d487c8c3724752b522fd352c96ba0bcf1a4 (patch)
tree634b06e05dc44af9de3646e7f2f4dfe352d59561 /data
parentb4a4c9682ca2413175386ad36d06fc4e1032badc (diff)
downloadayatana-indicator-datetime-b3a34d487c8c3724752b522fd352c96ba0bcf1a4.tar.gz
ayatana-indicator-datetime-b3a34d487c8c3724752b522fd352c96ba0bcf1a4.tar.bz2
ayatana-indicator-datetime-b3a34d487c8c3724752b522fd352c96ba0bcf1a4.zip
add week-start controls and settings
Diffstat (limited to 'data')
-rw-r--r--data/com.canonical.indicator.datetime.gschema.xml12
-rw-r--r--data/datetime-dialog.ui5
2 files changed, 15 insertions, 2 deletions
diff --git a/data/com.canonical.indicator.datetime.gschema.xml b/data/com.canonical.indicator.datetime.gschema.xml
index b33f34e..5361896 100644
--- a/data/com.canonical.indicator.datetime.gschema.xml
+++ b/data/com.canonical.indicator.datetime.gschema.xml
@@ -5,6 +5,11 @@
<value nick="24-hour" value="2" />
<value nick="custom" value="3" />
</enum>
+ <enum id="week-start-enum">
+ <value nick="locale-default" value="0" />
+ <value nick="sunday" value="1" />
+ <value nick="monday" value="2" />
+ </enum>
<schema id="com.canonical.indicator.datetime" path="/com/canonical/indicator/datetime/" gettext-domain="indicator-datetime">
<key name="show-clock" type="b">
<default>true</default>
@@ -78,6 +83,13 @@
Shows the week numbers in the monthly calendar in indicator-datetime's menu.
</description>
</key>
+ <key name="week-start" enum="week-start-enum">
+ <default>'locale-default'</default>
+ <summary>When the week starts</summary>
+ <description>
+ Controls whether weeks in the calendar are shown to start on Sunday or Monday.
+ </description>
+ </key>
<key name="show-events" type="b">
<default>true</default>
<summary>Show events in the indicator</summary>
diff --git a/data/datetime-dialog.ui b/data/datetime-dialog.ui
index 8b48702..c2a39b9 100644
--- a/data/datetime-dialog.ui
+++ b/data/datetime-dialog.ui
@@ -578,6 +578,7 @@
<object class="GtkVBox" id="vbox4">
<property name="visible">True</property>
<property name="can_focus">False</property>
+ <property name="spacing">6</property>
<child>
<object class="GtkCheckButton" id="includeWeekNumbersCheck">
<property name="label" translatable="yes">Include week num_bers</property>
@@ -597,8 +598,8 @@
</child>
<child>
<object class="GtkLabel" id="label5">
+ <property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="no_show_all">True</property>
<property name="xalign">0</property>
<property name="label" translatable="yes">Week begins on:</property>
</object>
@@ -610,8 +611,8 @@
</child>
<child>
<object class="GtkHBox" id="hbox3">
+ <property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="no_show_all">True</property>
<property name="homogeneous">True</property>
<child>
<object class="GtkRadioButton" id="startOnSundayRadio">