diff options
author | Charles Kerr <charles.kerr@canonical.com> | 2014-12-07 20:38:44 -0600 |
---|---|---|
committer | Charles Kerr <charles.kerr@canonical.com> | 2014-12-07 20:38:44 -0600 |
commit | 95bc85d108e3564d98f26b7ad17fcc72b2966371 (patch) | |
tree | ad0d9724caab0b7badf49cd668ff22fce342b4ae /src/actions-live.cpp | |
parent | 56e88207113e57eae7b24a718fa1ab177c6c9367 (diff) | |
download | ayatana-indicator-datetime-95bc85d108e3564d98f26b7ad17fcc72b2966371.tar.gz ayatana-indicator-datetime-95bc85d108e3564d98f26b7ad17fcc72b2966371.tar.bz2 ayatana-indicator-datetime-95bc85d108e3564d98f26b7ad17fcc72b2966371.zip |
ensure that disabled alarms aren't shown in indicator-datetime and that notifications aren't shown for them.
Diffstat (limited to 'src/actions-live.cpp')
-rw-r--r-- | src/actions-live.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/actions-live.cpp b/src/actions-live.cpp index 1f4fc8c..7efc2b2 100644 --- a/src/actions-live.cpp +++ b/src/actions-live.cpp @@ -138,7 +138,7 @@ void LiveActions::phone_open_appointment(const Appointment& appt) { if (!appt.url.empty()) dispatch_url(appt.url); - else if (appt.has_alarms) + else if (appt.is_ubuntu_alarm()) phone_open_alarm_app(); else phone_open_calendar_app(DateTime::NowLocal()); |