aboutsummaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2010-07-15 21:26:16 -0500
committerTed Gould <ted@gould.cx>2010-07-15 21:26:16 -0500
commitbe38ec815f69218a152ec40ddc0ba4b4239cb901 (patch)
tree1e693d6293993043f47e722d9805def677add5be /data
parentfc3ab7720e32da20cf06c2b0e6af2aac0cc44f73 (diff)
parent4de10d0ced1994599c040223fcd5012886f3d872 (diff)
downloadayatana-indicator-datetime-be38ec815f69218a152ec40ddc0ba4b4239cb901.tar.gz
ayatana-indicator-datetime-be38ec815f69218a152ec40ddc0ba4b4239cb901.tar.bz2
ayatana-indicator-datetime-be38ec815f69218a152ec40ddc0ba4b4239cb901.zip
* Upstream Merge
* Moving around the preferences to have something more flexible and updating code.
Diffstat (limited to 'data')
-rw-r--r--data/org.ayatana.indicator.datetime.gschema.xml56
1 files changed, 54 insertions, 2 deletions
diff --git a/data/org.ayatana.indicator.datetime.gschema.xml b/data/org.ayatana.indicator.datetime.gschema.xml
index 5833d63..c794d83 100644
--- a/data/org.ayatana.indicator.datetime.gschema.xml
+++ b/data/org.ayatana.indicator.datetime.gschema.xml
@@ -1,9 +1,61 @@
<schemalist>
+ <enum id="time-enum">
+ <value nick="locale-default" value="0" />
+ <value nick="12-hour" value="1" />
+ <value nick="24-hour" value="2" />
+ <value nick="custom" value="3" />
+ </enum>
<schema id="org.ayatana.indicator.datetime" path="/apps/indicators/datetime/" gettext-domain="indicator-datetime">
- <key name="indicator-time-format" type="s">
+ <key name="time-format" enum="time-enum">
+ <default>'locale-default'</default>
+ <summary>What the time format should be</summary>
+ <description>
+ Controls the time format that is displayed in the indicator. For almost
+ all users this should be the default for their locale. If you think the
+ setting is wrong for your locale please join or talk to the translation
+ team for your langauge. If you just want something different you can
+ adjust this to be either 12 or 24 time. Or, you can use a custom format
+ string and set the custom-time-format setting.
+ </description>
+ </key>
+ <key name="show-seconds" type="b">
+ <default>false</default>
+ <summary>Show the number of seconds in the indicator</summary>
+ <description>
+ Makes the datetime indicator show the number of seconds in the indicator.
+ It's important to note that this will cause additional battery drain as
+ the time will update 60 times as often, so it is not recommended. Also,
+ this setting will be ignored if the time-format value is set to custom.
+ </description>
+ </key>
+ <key name="show-day" type="b">
+ <default>false</default>
+ <summary>Show the day of the week in the indicator</summary>
+ <description>
+ Puts the day of the week on the panel along with the time and/or date
+ depending on settings. This setting will be ignored if the time-format
+ value is set to custom.
+ </description>
+ </key>
+ <key name="show-date" type="b">
+ <default>false</default>
+ <summary>Show the month and date in the indicator</summary>
+ <description>
+ Puts the month and the date in the panel along with the time and/or day
+ of the week depending on settings. This setting will be ignored if the
+ time-format value is set to custom.
+ </description>
+ </key>
+ <key name="custom-time-format" type="s">
<default>"%l:%M %p"</default>
<summary>The format string passed to strftime</summary>
- <description>The format of the time and/or date that is visible on the panel when using the indicator. For most users this will be a set of predefined values as determined by the configuration utility, but advanced users can change it to anything strftime can accept. Look at the man page on strftime for more information.</description>
+ <description>
+ The format of the time and/or date that is visible on the panel when using
+ the indicator. For most users this will be a set of predefined values as
+ determined by the configuration utility, but advanced users can change it
+ to anything strftime can accept. Look at the man page on strftime for
+ more information.
+ </description>
</key>
</schema>
</schemalist>