aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCharles Kerr <charles.kerr@canonical.com>2015-05-20 06:28:25 -0500
committerCharles Kerr <charles.kerr@canonical.com>2015-05-20 06:28:25 -0500
commit14660dc8578b63b86337fa1b00eb8c4c734354cf (patch)
treedcfcdbe4fb5746f99cd7e443aef23ed767828e26 /src
parentf9ac5ed383bbd1f8f7c56dc5a09f99e08556c823 (diff)
downloadayatana-indicator-datetime-14660dc8578b63b86337fa1b00eb8c4c734354cf.tar.gz
ayatana-indicator-datetime-14660dc8578b63b86337fa1b00eb8c4c734354cf.tar.bz2
ayatana-indicator-datetime-14660dc8578b63b86337fa1b00eb8c4c734354cf.zip
add stub for valarm repeat
Diffstat (limited to 'src')
-rw-r--r--src/engine-eds.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/engine-eds.cpp b/src/engine-eds.cpp
index f541e44..53878b5 100644
--- a/src/engine-eds.cpp
+++ b/src/engine-eds.cpp
@@ -686,6 +686,13 @@ private:
if (trigger_time.is_set())
{
g_debug("%s whoo got trigger time! %s", G_STRLOC, trigger_time.format("%F %T %z").c_str());
+
+ auto duration_property = icalcomponent_get_first_property(valarm, ICAL_DURATION_PROPERTY);
+ auto repeat_property = icalcomponent_get_first_property(valarm, ICAL_DURATION_PROPERTY);
+ if ((duration_property != nullptr) && (repeat_property != nullptr))
+ {
+ // FIXME: implement repeat
+ }
}
valarm = icalcomponent_get_next_component(instance, ICAL_VALARM_COMPONENT);
}