aboutsummaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorCharles Kerr <charles.kerr@canonical.com>2014-06-23 18:52:52 -0500
committerCharles Kerr <charles.kerr@canonical.com>2014-06-23 18:52:52 -0500
commita85fd44e7b2dc67b3e0712e174e88d0eb6c467e7 (patch)
tree222a1f286be139627a89d31a9db414b2d174f423 /data
parentf6778e1cc3e3881225e967c94de4685c732755db (diff)
downloadayatana-indicator-datetime-a85fd44e7b2dc67b3e0712e174e88d0eb6c467e7.tar.gz
ayatana-indicator-datetime-a85fd44e7b2dc67b3e0712e174e88d0eb6c467e7.tar.bz2
ayatana-indicator-datetime-a85fd44e7b2dc67b3e0712e174e88d0eb6c467e7.zip
add GSettings support for specifying a default alarm sound and default alarm volume.
Diffstat (limited to 'data')
-rw-r--r--data/com.canonical.indicator.datetime.gschema.xml21
1 files changed, 21 insertions, 0 deletions
diff --git a/data/com.canonical.indicator.datetime.gschema.xml b/data/com.canonical.indicator.datetime.gschema.xml
index 1a5922c..7e74a63 100644
--- a/data/com.canonical.indicator.datetime.gschema.xml
+++ b/data/com.canonical.indicator.datetime.gschema.xml
@@ -5,6 +5,13 @@
<value nick="24-hour" value="2" />
<value nick="custom" value="3" />
</enum>
+ <enum id="alarm-volume-enum">
+ <value nick="very-quiet" value="0" />
+ <value nick="quiet" value="1" />
+ <value nick="normal" value="2" />
+ <value nick="loud" value="3" />
+ <value nick="very-loud" value="4" />
+ </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>
@@ -123,5 +130,19 @@
Some timezones can be known by many different cities or names. This setting describes how the current zone prefers to be named. Format is "TIMEZONE NAME" (e.g. "America/New_York Boston" to name the New_York zone Boston).
</description>
</key>
+ <key name="alarm-default-sound" type="s">
+ <default>'/usr/share/sounds/ubuntu/ringtones/Suru arpeggio.ogg'</default>
+ <summary>The alarm's default sound file.</summary>
+ <description>
+ If an alarm doesn't specify its own sound file, this file will be used as the fallback sound.
+ </description>
+ </key>
+ <key name="alarm-default-volume" enum="alarm-volume-enum">
+ <default>'normal'</default>
+ <summary>The alarm's default volume level.</summary>
+ <description>
+ The volume at which alarms will be played.
+ </description>
+ </key>
</schema>
</schemalist>