diff options
author | Lars Uebernickel <lars.uebernickel@canonical.com> | 2013-10-10 16:42:49 +0200 |
---|---|---|
committer | Lars Uebernickel <lars.uebernickel@canonical.com> | 2013-10-10 16:42:49 +0200 |
commit | a66beb0805404bdf8f138fd3a683372487e6e35b (patch) | |
tree | 59f821ad10277ab3c7901229ce79d187987938d7 /src/service.vala | |
parent | 071576b6e7b3d979c1fcefd611b67bac171f2877 (diff) | |
download | ayatana-indicator-sound-a66beb0805404bdf8f138fd3a683372487e6e35b.tar.gz ayatana-indicator-sound-a66beb0805404bdf8f138fd3a683372487e6e35b.tar.bz2 ayatana-indicator-sound-a66beb0805404bdf8f138fd3a683372487e6e35b.zip |
Only display running players in the phone's sound menu
Diffstat (limited to 'src/service.vala')
-rw-r--r-- | src/service.vala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/service.vala b/src/service.vala index 9c75044..98a0bec 100644 --- a/src/service.vala +++ b/src/service.vala @@ -36,7 +36,7 @@ public class IndicatorSound.Service { 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", new SoundMenu ("indicator.desktop-settings", SoundMenu.DisplayFlags.SHOW_MUTE)); - this.menus.insert ("phone", new SoundMenu ("indicator.phone-settings", SoundMenu.DisplayFlags.NONE)); + this.menus.insert ("phone", new SoundMenu ("indicator.phone-settings", SoundMenu.DisplayFlags.HIDE_INACTIVE_PLAYERS)); this.menus.@foreach ( (profile, menu) => { this.volume_control.bind_property ("active-mic", menu, "show-mic-volume", BindingFlags.SYNC_CREATE); |