diff options
author | Xavi Garcia Mena <xavi.garcia.mena@canonical.com> | 2016-03-07 10:13:45 +0000 |
---|---|---|
committer | CI Train Bot <ci-train-bot@canonical.com> | 2016-03-07 10:13:45 +0000 |
commit | 5e59aeb7d963648d0975799ad69da865dc552bf7 (patch) | |
tree | 4bc42b14a73ccf18220b9e28f9cf653c61c68ca2 /src/sound-menu.vala | |
parent | 57f5cbe43e95d72e0904473ab371e9e016b73956 (diff) | |
parent | f23ef0a3d5d2195d3174643bbd9df0bbe3b59ad2 (diff) | |
download | ayatana-indicator-sound-5e59aeb7d963648d0975799ad69da865dc552bf7.tar.gz ayatana-indicator-sound-5e59aeb7d963648d0975799ad69da865dc552bf7.tar.bz2 ayatana-indicator-sound-5e59aeb7d963648d0975799ad69da865dc552bf7.zip |
To avoid going too below the warning level we set the volume when showing the warning dialog to the loud_volume level.
The spec states:
Whenever you increase volume, for the first time in 20 hours, such that acoustic output would be more than 85 dBA, an “Increase Volume” dialog should appear.
So the loud_volume is still a valid level.
After setting this the user has only to press the Up button once to show the warning dialog again.
When setting the loud_volume-1 value the level was decreased 2 steps below the warning level and the used had to press the up button twice.
Approved by: PS Jenkins bot, Charles Kerr
Diffstat (limited to 'src/sound-menu.vala')
0 files changed, 0 insertions, 0 deletions