diff options
author | Charles Kerr <charles.kerr@canonical.com> | 2014-02-27 11:14:52 -0500 |
---|---|---|
committer | Charles Kerr <charles.kerr@canonical.com> | 2014-02-27 11:14:52 -0500 |
commit | 00fcc7da2f9aa1ed98794bf4f3487237cc1c3a47 (patch) | |
tree | d55f66e28b3b5171c8e553d31d55fc4feae76510 | |
parent | e365214c51f8673feb293c8175c87c92672666b9 (diff) | |
download | ayatana-indicator-datetime-00fcc7da2f9aa1ed98794bf4f3487237cc1c3a47.tar.gz ayatana-indicator-datetime-00fcc7da2f9aa1ed98794bf4f3487237cc1c3a47.tar.bz2 ayatana-indicator-datetime-00fcc7da2f9aa1ed98794bf4f3487237cc1c3a47.zip |
when a notify action is activated, call stop_audio_loop() in case the notify server doesn't also send back a 'closed' signal.
-rw-r--r-- | src/snap.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/snap.cpp b/src/snap.cpp index b1a2e51..5cf6063 100644 --- a/src/snap.cpp +++ b/src/snap.cpp @@ -160,12 +160,14 @@ struct SnapData void on_snap_show(NotifyNotification*, gchar* /*action*/, gpointer gdata) { + stop_alarm_sound(); auto data = static_cast<SnapData*>(gdata); data->show(data->appointment); } void on_snap_dismiss(NotifyNotification*, gchar* /*action*/, gpointer gdata) { + stop_alarm_sound(); auto data = static_cast<SnapData*>(gdata); data->dismiss(data->appointment); } |