diff options
author | charles kerr <charlesk@canonical.com> | 2015-12-30 16:21:41 -0600 |
---|---|---|
committer | charles kerr <charlesk@canonical.com> | 2015-12-30 16:21:41 -0600 |
commit | 6d6791ca27ba1910d399e07e9bae2dfbeacd05ee (patch) | |
tree | 78971988ed4bd85689dac89ad548a9a28fb1bcce /src/service.vala | |
parent | 081627214d7ad7056934b6d152469f8ede079468 (diff) | |
download | ayatana-indicator-sound-6d6791ca27ba1910d399e07e9bae2dfbeacd05ee.tar.gz ayatana-indicator-sound-6d6791ca27ba1910d399e07e9bae2dfbeacd05ee.tar.bz2 ayatana-indicator-sound-6d6791ca27ba1910d399e07e9bae2dfbeacd05ee.zip |
when showing volume notifications, show as a percentage of max-volume
Diffstat (limited to 'src/service.vala')
-rw-r--r-- | src/service.vala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/service.vala b/src/service.vala index 692b88d..5bc4fc7 100644 --- a/src/service.vala +++ b/src/service.vala @@ -436,7 +436,7 @@ public class IndicatorSound.Service: Object { private void update_notification () { if (!_volume_warning.active && !block_info_notifications) { _info_notification.show(this.volume_control.active_output, - this.volume_control.volume.volume, + get_volume_percent(), _volume_warning.high_volume); } } |