From aa3ee9ce63f3fb92b548593d03dd427f59c33ce5 Mon Sep 17 00:00:00 2001 From: Charles Kerr Date: Mon, 6 Apr 2015 14:58:34 -0500 Subject: in the EDS engine, give a better explanation in the comments how we handle alarms with no triggers, and why --- src/engine-eds.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/engine-eds.cpp') diff --git a/src/engine-eds.cpp b/src/engine-eds.cpp index 4435bdf..474bac5 100644 --- a/src/engine-eds.cpp +++ b/src/engine-eds.cpp @@ -581,8 +581,10 @@ private: e_cal_component_alarms_free(e_alarms); } - // hm, no alarms? if this came from ubuntu-clock-app, - // manually add a single alarm for the todo event's time + // Hm, no alarm triggers? + // That's a bug in alarms created by some versions of ubuntu-ui-toolkit. + // If that's what's happening here, let's handle those alarms anyway + // by effectively injecting a TRIGGER;VALUE=DURATION;RELATED=START:PT0S else if (appointment.is_ubuntu_alarm()) { Alarm tmp; -- cgit v1.2.3