diff options
author | charles kerr <charlesk@canonical.com> | 2015-12-30 16:23:35 -0600 |
---|---|---|
committer | charles kerr <charlesk@canonical.com> | 2015-12-30 16:23:35 -0600 |
commit | 3336fad9c2162a415dfc5baf8becfe6c2de6bc60 (patch) | |
tree | 8670033a2ed9c1ca5d7b7257c68da305e9d449e2 /src | |
parent | 6d6791ca27ba1910d399e07e9bae2dfbeacd05ee (diff) | |
download | ayatana-indicator-sound-3336fad9c2162a415dfc5baf8becfe6c2de6bc60.tar.gz ayatana-indicator-sound-3336fad9c2162a415dfc5baf8becfe6c2de6bc60.tar.bz2 ayatana-indicator-sound-3336fad9c2162a415dfc5baf8becfe6c2de6bc60.zip |
when max-volume changes, update volume action state & info notification
Diffstat (limited to 'src')
-rw-r--r-- | src/service.vala | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/service.vala b/src/service.vala index 5bc4fc7..25b3520 100644 --- a/src/service.vala +++ b/src/service.vala @@ -29,6 +29,10 @@ public class IndicatorSound.Service: Object { } _options = options; + _options.notify["max-volume"].connect(() => { + update_volume_action_state(); + this.update_notification(); + }); _volume_warning = volume_warning; _volume_warning.notify["active"].connect(() => { |