diff options
author | Charles Kerr <charles.kerr@canonical.com> | 2014-06-26 21:36:42 -0500 |
---|---|---|
committer | Charles Kerr <charles.kerr@canonical.com> | 2014-06-26 21:36:42 -0500 |
commit | c5081444f4f493dc386012bcb99d2430fe26dc5a (patch) | |
tree | 621054c7d01007a0a6328b3e4995ec2f9cb6bfb7 /data | |
parent | ff5881ace7f91ca998b9722bc17a00fec3166461 (diff) | |
download | ayatana-indicator-datetime-c5081444f4f493dc386012bcb99d2430fe26dc5a.tar.gz ayatana-indicator-datetime-c5081444f4f493dc386012bcb99d2430fe26dc5a.tar.bz2 ayatana-indicator-datetime-c5081444f4f493dc386012bcb99d2430fe26dc5a.zip |
Expose the alarm settings via dbus properties.
Diffstat (limited to 'data')
-rw-r--r-- | data/com.canonical.indicator.datetime.AlarmProperties.xml | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/data/com.canonical.indicator.datetime.AlarmProperties.xml b/data/com.canonical.indicator.datetime.AlarmProperties.xml new file mode 100644 index 0000000..d25fa82 --- /dev/null +++ b/data/com.canonical.indicator.datetime.AlarmProperties.xml @@ -0,0 +1,31 @@ +<?xml version="1.0" encoding="UTF-8" ?> +<!DOCTYPE node PUBLIC "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN" "http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd"> +<node xmlns:doc="http://www.freedesktop.org/dbus/1.0/doc.dtd"> + <interface name="com.canonical.indicator.datetime.AlarmProperties"> + + <property name="DefaultSound" type="s" access="readwrite"> + <doc:doc> + <doc:description> + <doc:para>The default alarm sound's filename.</doc:para> + </doc:description> + </doc:doc> + </property> + + <property name="DefaultVolume" type="i" access="readwrite"> + <doc:doc> + <doc:description> + <doc:para>How loudly to play alarm sounds. [Range: 1-100]</doc:para> + </doc:description> + </doc:doc> + </property> + + <property name="Duration" type="i" access="readwrite"> + <doc:doc> + <doc:description> + <doc:para>How long an alarm's sound should be looped.</doc:para> + </doc:description> + </doc:doc> + </property> + + </interface> +</node> |