aboutsummaryrefslogtreecommitdiff
path: root/src/service.vala
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2014-02-28 16:42:24 -0600
committerTed Gould <ted@gould.cx>2014-02-28 16:42:24 -0600
commit386d973866817541a904198865d49ec040d4755d (patch)
treeecba39a9a69166e62eb8da468d886e545c237013 /src/service.vala
parentdd42fb51e44d1a1233e6a803a997af7c20b8dc56 (diff)
downloadayatana-indicator-sound-386d973866817541a904198865d49ec040d4755d.tar.gz
ayatana-indicator-sound-386d973866817541a904198865d49ec040d4755d.tar.bz2
ayatana-indicator-sound-386d973866817541a904198865d49ec040d4755d.zip
Use the standard code for only showing ready players
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 be0164d..f1a002f 100644
--- a/src/service.vala
+++ b/src/service.vala
@@ -35,7 +35,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_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));