aboutsummaryrefslogtreecommitdiff
path: root/src/snap.cpp
diff options
context:
space:
mode:
authorRenato Araujo Oliveira Filho <renato.filho@canonical.com>2016-04-20 17:59:25 -0300
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2021-08-29 14:37:39 +0200
commit6a6cca286f8dca9a41fb13d51f991dd88eec5791 (patch)
tree8de504e6aeffd92de1751d16fd7216789e8ddbc1 /src/snap.cpp
parent605ece31c05b571e8855bcec57550cd067c2f7bb (diff)
downloadayatana-indicator-datetime-6a6cca286f8dca9a41fb13d51f991dd88eec5791.tar.gz
ayatana-indicator-datetime-6a6cca286f8dca9a41fb13d51f991dd88eec5791.tar.bz2
ayatana-indicator-datetime-6a6cca286f8dca9a41fb13d51f991dd88eec5791.zip
Vibrate only once when notification about calendar events.
Diffstat (limited to 'src/snap.cpp')
-rw-r--r--src/snap.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/snap.cpp b/src/snap.cpp
index 4736498..217b6df 100644
--- a/src/snap.cpp
+++ b/src/snap.cpp
@@ -117,7 +117,7 @@ public:
if (should_vibrate()) {
const auto haptic_mode = m_settings->alarm_haptic.get();
if (haptic_mode == "pulse")
- haptic = std::make_shared<ain::Haptic>(ain::Haptic::MODE_PULSE);
+ haptic = std::make_shared<ain::Haptic>(ain::Haptic::MODE_PULSE, appointment.is_ubuntu_alarm());
}
// show a notification...