aboutsummaryrefslogtreecommitdiff
path: root/src/service.vala
diff options
context:
space:
mode:
authorXavi Garcia Mena <xavi.garcia.mena@canonical.com>2016-01-22 14:10:07 -0600
committerXavi Garcia Mena <xavi.garcia.mena@canonical.com>2016-01-22 14:10:07 -0600
commitee2ba9c677721724c8385ff2c9f32f7a9f090f0d (patch)
tree3e6e6b7248192e2bbc2d26d699e9f8dcc3ee94fb /src/service.vala
parent29126b7d80f2385a884c79d91bd816bf4a0b27e2 (diff)
downloadayatana-indicator-sound-ee2ba9c677721724c8385ff2c9f32f7a9f090f0d.tar.gz
ayatana-indicator-sound-ee2ba9c677721724c8385ff2c9f32f7a9f090f0d.tar.bz2
ayatana-indicator-sound-ee2ba9c677721724c8385ff2c9f32f7a9f090f0d.zip
Code for Bug 1213907 added. Only showing active players playback controls
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 29b8670..2228ba2 100644
--- a/src/service.vala
+++ b/src/service.vala
@@ -94,7 +94,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.HIDE_PLAYERS | SoundMenu.DisplayFlags.GREETER_PLAYERS));
this.menus.insert ("phone_greeter", new SoundMenu (null, SoundMenu.DisplayFlags.SHOW_SILENT_MODE | SoundMenu.DisplayFlags.HIDE_INACTIVE_PLAYERS | SoundMenu.DisplayFlags.GREETER_PLAYERS));
- this.menus.insert ("desktop", new SoundMenu ("indicator.desktop-settings", SoundMenu.DisplayFlags.SHOW_MUTE));
+ this.menus.insert ("desktop", new SoundMenu ("indicator.desktop-settings", SoundMenu.DisplayFlags.SHOW_MUTE | SoundMenu.DisplayFlags.HIDE_INACTIVE_PLAYERS_PLAY_CONTROLS));
this.menus.insert ("phone", new SoundMenu ("indicator.phone-settings", SoundMenu.DisplayFlags.SHOW_SILENT_MODE | SoundMenu.DisplayFlags.HIDE_INACTIVE_PLAYERS));
this.menus.@foreach ( (profile, menu) => {