aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorCharles Kerr <charles.kerr@canonical.com>2015-01-28 19:15:59 +0000
committerCI Train Bot <ci-train-bot@canonical.com>2015-01-28 19:15:59 +0000
commite1f1be9e181a3d00506b77c6201178e030fc0168 (patch)
tree5a0d7e2b25bc47903452446be831a9b6495f7238 /include
parentfe5d8d46225d9144e2c756c9d206d2ac73f6ad77 (diff)
parent12c742122d34578b23da54d49d4ae1b9bb6af87e (diff)
downloadayatana-indicator-datetime-e1f1be9e181a3d00506b77c6201178e030fc0168.tar.gz
ayatana-indicator-datetime-e1f1be9e181a3d00506b77c6201178e030fc0168.tar.bz2
ayatana-indicator-datetime-e1f1be9e181a3d00506b77c6201178e030fc0168.zip
Don't play calendar alarm sounds if Silent Mode is enabled. Use the alarm sound role for both clock and calendar alarms. Fixes: #1410874
Approved by: Antti Kaijanmäki, PS Jenkins bot
Diffstat (limited to 'include')
-rw-r--r--include/notifications/sound.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/notifications/sound.h b/include/notifications/sound.h
index f5f549c..d08c2e7 100644
--- a/include/notifications/sound.h
+++ b/include/notifications/sound.h
@@ -41,7 +41,7 @@ namespace notifications {
class Sound
{
public:
- Sound(const std::string& uri, unsigned int volume, bool loop);
+ Sound(const std::string& role, const std::string& uri, unsigned int volume, bool loop);
~Sound();
private: