From 965fdf8817d11d382f7012999d48fa702c91a628 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mirco=20M=C3=BCller?= Date: Fri, 19 Sep 2014 00:08:57 +0200 Subject: Use a sound-file via the corresponding hint to play back while the volume is changed to give the user also an audible feedback. --- src/volume-control.vala | 1 + 1 file changed, 1 insertion(+) (limited to 'src') 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 (); -- cgit v1.2.3