diff options
author | Xavi Garcia Mena <xavi.garcia.mena@canonical.com> | 2015-11-19 17:06:59 +0100 |
---|---|---|
committer | Xavi Garcia Mena <xavi.garcia.mena@canonical.com> | 2015-11-19 17:06:59 +0100 |
commit | d7fa04a96f2d9eabfdcc56574895c0c9f5785231 (patch) | |
tree | f4912bc7d23ea292c36177d3aa911137294c0a8f /src/service.vala | |
parent | f06c2ddee06bce9ed8320d78a65fd6206db3e6f1 (diff) | |
download | ayatana-indicator-sound-d7fa04a96f2d9eabfdcc56574895c0c9f5785231.tar.gz ayatana-indicator-sound-d7fa04a96f2d9eabfdcc56574895c0c9f5785231.tar.bz2 ayatana-indicator-sound-d7fa04a96f2d9eabfdcc56574895c0c9f5785231.zip |
restore warning level volume when warning dialog is cancelled
Diffstat (limited to 'src/service.vala')
-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 2b2d667..985d434 100644 --- a/src/service.vala +++ b/src/service.vala @@ -610,6 +610,7 @@ public class IndicatorSound.Service: Object { && this.notify_server_supports_actions && !this.volume_control.high_volume_approved; if (waiting_user_approve_warn && volume_control.below_warning_volume) { + volume_control.set_warning_volume(); close_notification(warn_notification); } if (warn) { |