diff options
author | Lars Uebernickel <lars.uebernickel@canonical.com> | 2013-09-15 20:31:36 +0200 |
---|---|---|
committer | Lars Uebernickel <lars.uebernickel@canonical.com> | 2013-09-15 20:31:36 +0200 |
commit | f0b5cc08bb303864981d8c011faab495aa4e6781 (patch) | |
tree | 5879e02301136da8277f7298696a586652c0ac67 /src/service.vala | |
parent | 714775ae8d16509e1c4c57bad36d8a741a48c0e2 (diff) | |
download | ayatana-indicator-sound-f0b5cc08bb303864981d8c011faab495aa4e6781.tar.gz ayatana-indicator-sound-f0b5cc08bb303864981d8c011faab495aa4e6781.tar.bz2 ayatana-indicator-sound-f0b5cc08bb303864981d8c011faab495aa4e6781.zip |
Don't show the "Mute" menu item in the phone profile
Diffstat (limited to 'src/service.vala')
-rw-r--r-- | src/service.vala | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/service.vala b/src/service.vala index 1b3a81a..f43a1a1 100644 --- a/src/service.vala +++ b/src/service.vala @@ -34,8 +34,8 @@ public class IndicatorSound.Service { this.actions.add_action (this.create_mic_volume_action ()); this.menus = new HashTable<string, SoundMenu> (str_hash, str_equal); - this.menus.insert ("desktop", new SoundMenu ("indicator.desktop-settings")); - this.menus.insert ("phone", new SoundMenu ("indicator.phone-settings")); + this.menus.insert ("desktop", new SoundMenu (true, "indicator.desktop-settings")); + this.menus.insert ("phone", new SoundMenu (false, "indicator.phone-settings")); this.menus.@foreach ( (profile, menu) => { this.volume_control.bind_property ("active-mic", menu, "show-mic-volume", BindingFlags.SYNC_CREATE); |