aboutsummaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorConor Curran <conor.curran@canonical.com>2010-12-15 14:32:27 +0000
committerConor Curran <conor.curran@canonical.com>2010-12-15 14:32:27 +0000
commitaaf57407f00aa59df3699794496fd42a731ad7db (patch)
tree62db182817ec8c3de63cd4cb5a4fa53322b69c80 /data
parent57e6249df95fd120eee8ed4013210d359cdeee97 (diff)
downloadayatana-indicator-sound-aaf57407f00aa59df3699794496fd42a731ad7db.tar.gz
ayatana-indicator-sound-aaf57407f00aa59df3699794496fd42a731ad7db.tar.bz2
ayatana-indicator-sound-aaf57407f00aa59df3699794496fd42a731ad7db.zip
settings schema defined and handling code wrote
Diffstat (limited to 'data')
-rw-r--r--data/com.canonical.indicators.sound.gschema.xml25
1 files changed, 17 insertions, 8 deletions
diff --git a/data/com.canonical.indicators.sound.gschema.xml b/data/com.canonical.indicators.sound.gschema.xml
index 4284527..e8e4c86 100644
--- a/data/com.canonical.indicators.sound.gschema.xml
+++ b/data/com.canonical.indicators.sound.gschema.xml
@@ -1,19 +1,28 @@
<schemalist>
<schema id="com.canoncial.indicators.sound" path="/apps/indicators/sound/" gettext-domain="indicator-sound">
- <key name="blacklist_entries" type="(as)">
- <default></default>
+ <key name="blacklisted-media-players" type="as">
<summary>A list of applications blacklisted from the sound menu</summary>
+ <default>[]</default>
<description>
- Each media player which abides by the MPRIS2 spec will automatically appear in the menu.
- This array should contain the desktop file names (minus .desktop suffix) of applications which
- do not want to be included in the sound menu.
+ Each media player which abides by the MPRIS2 spec will automatically appear in the menu.
+ This array should contain the desktop file names (minus .desktop suffix) of applications which
+ do not want to be included in the sound menu.
</description>
</key>
- <key name="global_mute" type="b">
- <default>FALSE</default>
+ <key name="interested-media-players" type="as">
+ <summary>A list of applications which at some point have registered with the sound menu</summary>
+ <default>[]</default>
+ <description>
+ Each media player which abides by the MPRIS2 spec will automatically appear in the menu.
+ This array should contain the desktop file names (minus .desktop suffix) of applications which
+ have at some point appeared in the menU. This allows the menu remember and display offlined applications.
+ </description>
+ </key>
+ <key name="global-mute" type="b">
+ <default>false</default>
<summary>Initial setting for global mute (mute all) on the menu </summary>
<description>
- On start up volume should not be muted.
+ On start up volume should not be muted.
</description>
</key>
</schema>