diff options
author | Charles Kerr <charles.kerr@canonical.com> | 2015-01-28 19:15:59 +0000 |
---|---|---|
committer | CI Train Bot <ci-train-bot@canonical.com> | 2015-01-28 19:15:59 +0000 |
commit | e1f1be9e181a3d00506b77c6201178e030fc0168 (patch) | |
tree | 5a0d7e2b25bc47903452446be831a9b6495f7238 /include | |
parent | fe5d8d46225d9144e2c756c9d206d2ac73f6ad77 (diff) | |
parent | 12c742122d34578b23da54d49d4ae1b9bb6af87e (diff) | |
download | ayatana-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.h | 2 |
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: |