aboutsummaryrefslogtreecommitdiff
path: root/src/com.ubuntu.touch.AccountsService.Sound.xml
diff options
context:
space:
mode:
authorCharles Kerr <charles.kerr@canonical.com>2015-01-28 19:15:59 +0000
committerCI Train Bot <ci-train-bot@canonical.com>2015-01-28 19:15:59 +0000
commite1f1be9e181a3d00506b77c6201178e030fc0168 (patch)
tree5a0d7e2b25bc47903452446be831a9b6495f7238 /src/com.ubuntu.touch.AccountsService.Sound.xml
parentfe5d8d46225d9144e2c756c9d206d2ac73f6ad77 (diff)
parent12c742122d34578b23da54d49d4ae1b9bb6af87e (diff)
downloadayatana-indicator-datetime-e1f1be9e181a3d00506b77c6201178e030fc0168.tar.gz
ayatana-indicator-datetime-e1f1be9e181a3d00506b77c6201178e030fc0168.tar.bz2
ayatana-indicator-datetime-e1f1be9e181a3d00506b77c6201178e030fc0168.zip
Don't play calendar alarm sounds if Silent Mode is enabled. Use the alarm sound role for both clock and calendar alarms. Fixes: #1410874
Approved by: Antti Kaijanmäki, PS Jenkins bot
Diffstat (limited to 'src/com.ubuntu.touch.AccountsService.Sound.xml')
-rw-r--r--src/com.ubuntu.touch.AccountsService.Sound.xml42
1 files changed, 42 insertions, 0 deletions
diff --git a/src/com.ubuntu.touch.AccountsService.Sound.xml b/src/com.ubuntu.touch.AccountsService.Sound.xml
new file mode 100644
index 0000000..91d71dc
--- /dev/null
+++ b/src/com.ubuntu.touch.AccountsService.Sound.xml
@@ -0,0 +1,42 @@
+<node>
+ <interface name="com.ubuntu.touch.AccountsService.Sound">
+
+ <annotation name="org.freedesktop.Accounts.VendorExtension" value="true"/>
+
+ <!-- Muted is all sound, SilentMode is only non-user-initiated sounds -->
+ <property name="SilentMode" type="b" access="readwrite">
+ <annotation name="org.freedesktop.Accounts.DefaultValue" value="false"/>
+ </property>
+
+ <property name="IncomingCallSound" type="s" access="readwrite">
+ <annotation name="org.freedesktop.Accounts.DefaultValue.String"
+ value="/usr/share/sounds/ubuntu/ringtones/Ubuntu.ogg"/>
+ </property>
+
+ <property name="IncomingMessageSound" type="s" access="readwrite">
+ <annotation name="org.freedesktop.Accounts.DefaultValue.String"
+ value="/usr/share/sounds/ubuntu/notifications/Xylo.ogg"/>
+ </property>
+
+ <property name="IncomingCallVibrate" type="b" access="readwrite">
+ <annotation name="org.freedesktop.Accounts.DefaultValue" value="true"/>
+ </property>
+
+ <property name="IncomingCallVibrateSilentMode" type="b" access="readwrite">
+ <annotation name="org.freedesktop.Accounts.DefaultValue" value="true"/>
+ </property>
+
+ <property name="IncomingMessageVibrate" type="b" access="readwrite">
+ <annotation name="org.freedesktop.Accounts.DefaultValue" value="true"/>
+ </property>
+
+ <property name="IncomingMessageVibrateSilentMode" type="b" access="readwrite">
+ <annotation name="org.freedesktop.Accounts.DefaultValue" value="true"/>
+ </property>
+
+ <property name="DialpadSoundsEnabled" type="b" access="readwrite">
+ <annotation name="org.freedesktop.Accounts.DefaultValue" value="true"/>
+ </property>
+
+ </interface>
+</node>