aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMirco Müller <mirco.mueller@ubuntu.com>2014-09-19 00:08:57 +0200
committerMirco Müller <mirco.mueller@ubuntu.com>2014-09-19 00:08:57 +0200
commit965fdf8817d11d382f7012999d48fa702c91a628 (patch)
tree358373fbc365e4dbe75a2524d9880f78292c0fe9
parente6886725945a09d3f286d35b313e23c94c2a091b (diff)
downloadayatana-indicator-sound-965fdf8817d11d382f7012999d48fa702c91a628.tar.gz
ayatana-indicator-sound-965fdf8817d11d382f7012999d48fa702c91a628.tar.bz2
ayatana-indicator-sound-965fdf8817d11d382f7012999d48fa702c91a628.zip
Use a sound-file via the corresponding hint to play back while the volume is changed to give the user also an audible feedback.
-rw-r--r--src/volume-control.vala1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/volume-control.vala b/src/volume-control.vala
index 6148b79..8de5d2f 100644
--- a/src/volume-control.vala
+++ b/src/volume-control.vala
@@ -76,6 +76,7 @@ public class VolumeControl : Object
_notification.set_hint ("value", 0);
_notification.set_hint ("x-canonical-private-synchronous", "true");
_notification.set_hint ("x-canonical-non-shaped-icon", "true");
+ _notification.set_hint ("sound-file", "/usr/share/sounds/ubuntu/stereo/message.ogg");
setup_accountsservice.begin ();