aboutsummaryrefslogtreecommitdiff
path: root/src/service.vala
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2014-10-02 11:24:54 -0500
committerTed Gould <ted@gould.cx>2014-10-02 11:24:54 -0500
commit4b6d204d6cc5d193d6400b14acb520296dfb7d96 (patch)
treed5a2cc54b4374bb3ab0db719972ee64c9c989aab /src/service.vala
parent4f500f48301cbc7140b87034d3e1326a0a3b917a (diff)
downloadayatana-indicator-sound-4b6d204d6cc5d193d6400b14acb520296dfb7d96.tar.gz
ayatana-indicator-sound-4b6d204d6cc5d193d6400b14acb520296dfb7d96.tar.bz2
ayatana-indicator-sound-4b6d204d6cc5d193d6400b14acb520296dfb7d96.zip
Add a silent mode menu item
Diffstat (limited to 'src/service.vala')
-rw-r--r--src/service.vala4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/service.vala b/src/service.vala
index a78519d..8711b6a 100644
--- a/src/service.vala
+++ b/src/service.vala
@@ -52,9 +52,9 @@ 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.HIDE_INACTIVE_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 ("phone", new SoundMenu ("indicator.phone-settings", SoundMenu.DisplayFlags.HIDE_INACTIVE_PLAYERS));
+ this.menus.insert ("phone", new SoundMenu ("indicator.phone-settings", SoundMenu.DisplayFlags.SHOW_SILENT_MODE | SoundMenu.DisplayFlags.HIDE_INACTIVE_PLAYERS));
this.menus.@foreach ( (profile, menu) => {
this.volume_control.bind_property ("active-mic", menu, "show-mic-volume", BindingFlags.SYNC_CREATE);