diff options
-rw-r--r-- | src/service.vala | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/service.vala b/src/service.vala index 490e242..a35d465 100644 --- a/src/service.vala +++ b/src/service.vala @@ -366,6 +366,7 @@ public class IndicatorSound.Service: Object { this.menus.@foreach ( (profile, menu) => menu.add_player (player)); SimpleAction action = new SimpleAction.stateful (player.id, null, this.action_state_for_player (player)); + action.set_enabled (player.can_raise); action.activate.connect ( () => { player.activate (); }); this.actions.add_action (action); |