aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2014-03-04 15:38:07 -0600
committerTed Gould <ted@gould.cx>2014-03-04 15:38:07 -0600
commite9f0b68ab8b9afec9466011b8a8bae3b202b4bf9 (patch)
tree3da925da50b84d7b944c988deb7daf17b9ae83f4
parent8c23ea52648f4555403acf42a096e83853ff7e08 (diff)
downloadayatana-indicator-sound-e9f0b68ab8b9afec9466011b8a8bae3b202b4bf9.tar.gz
ayatana-indicator-sound-e9f0b68ab8b9afec9466011b8a8bae3b202b4bf9.tar.bz2
ayatana-indicator-sound-e9f0b68ab8b9afec9466011b8a8bae3b202b4bf9.zip
Adding a specific phone_greeter profile
-rw-r--r--data/com.canonical.indicator.sound2
-rw-r--r--src/service.vala1
2 files changed, 2 insertions, 1 deletions
diff --git a/data/com.canonical.indicator.sound b/data/com.canonical.indicator.sound
index ae5fd5d..7d9ab41 100644
--- a/data/com.canonical.indicator.sound
+++ b/data/com.canonical.indicator.sound
@@ -16,5 +16,5 @@ ObjectPath=/com/canonical/indicator/sound/desktop_greeter
ObjectPath=/com/canonical/indicator/sound/desktop_greeter
[phone_greeter]
-ObjectPath=/com/canonical/indicator/sound/desktop_greeter
+ObjectPath=/com/canonical/indicator/sound/phone_greeter
diff --git a/src/service.vala b/src/service.vala
index b4dae65..ca00caa 100644
--- a/src/service.vala
+++ b/src/service.vala
@@ -36,6 +36,7 @@ public class IndicatorSound.Service: Object {
this.menus = new HashTable<string, SoundMenu> (str_hash, str_equal);
this.menus.insert ("desktop_greeter", new SoundMenu (null, SoundMenu.DisplayFlags.SHOW_MUTE | SoundMenu.DisplayFlags.DONT_SHOW_PLAYERS));
+ this.menus.insert ("phone_greeter", new SoundMenu (null, SoundMenu.DisplayFlags.SHOW_MUTE | SoundMenu.DisplayFlags.HIDE_INACTIVE_PLAYERS));
this.menus.insert ("desktop", new SoundMenu ("indicator.desktop-settings", SoundMenu.DisplayFlags.SHOW_MUTE));
this.menus.insert ("phone", new SoundMenu ("indicator.phone-settings", SoundMenu.DisplayFlags.HIDE_INACTIVE_PLAYERS));