aboutsummaryrefslogtreecommitdiff
path: root/src/service.vala
diff options
context:
space:
mode:
authorLars Uebernickel <lars.uebernickel@canonical.com>2014-03-12 14:26:10 +0100
committerLars Uebernickel <lars.uebernickel@canonical.com>2014-03-12 14:26:10 +0100
commitee91c5f1f89d771e9187f21bbf490e45f0c93f1e (patch)
treedb9d004b8e4fa909d96c5cdd7242ffcaa0fc02fe /src/service.vala
parente2fdd75b6e7fd1c8572dd10356272668b99d33dd (diff)
downloadayatana-indicator-sound-ee91c5f1f89d771e9187f21bbf490e45f0c93f1e.tar.gz
ayatana-indicator-sound-ee91c5f1f89d771e9187f21bbf490e45f0c93f1e.tar.bz2
ayatana-indicator-sound-ee91c5f1f89d771e9187f21bbf490e45f0c93f1e.zip
Don't show player sections on the greeter and lock screen
Diffstat (limited to 'src/service.vala')
-rw-r--r--src/service.vala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/service.vala b/src/service.vala
index 2b21275..970867f 100644
--- a/src/service.vala
+++ b/src/service.vala
@@ -38,7 +38,7 @@ public class IndicatorSound.Service: Object {
this.actions.add_action (this.create_mic_volume_action ());
this.menus = new HashTable<string, SoundMenu> (str_hash, str_equal);
- this.menus.insert ("desktop_greeter", new SoundMenu (null, SoundMenu.DisplayFlags.SHOW_MUTE));
+ this.menus.insert ("desktop_greeter", new SoundMenu (null, SoundMenu.DisplayFlags.SHOW_MUTE | SoundMenu.DisplayFlags.HIDE_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));