diff options
author | Renato Araujo Oliveira Filho <renato.filho@canonical.com> | 2016-04-20 17:59:25 -0300 |
---|---|---|
committer | Robert Tari <robert@tari.in> | 2021-07-06 02:23:18 +0200 |
commit | d39dd6255625021cb5e3596ef4c5b921d59797b5 (patch) | |
tree | ce459149301d00f44efdfcce2ef14980403bef0d /src/snap.cpp | |
parent | aeba43c7b4be927c23eb61c2644e60182be22bd5 (diff) | |
download | ayatana-indicator-datetime-d39dd6255625021cb5e3596ef4c5b921d59797b5.tar.gz ayatana-indicator-datetime-d39dd6255625021cb5e3596ef4c5b921d59797b5.tar.bz2 ayatana-indicator-datetime-d39dd6255625021cb5e3596ef4c5b921d59797b5.zip |
Vibrate only once when notification about calendar events.
Diffstat (limited to 'src/snap.cpp')
-rw-r--r-- | src/snap.cpp | 2 |
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... |