aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/calendar.c
diff options
context:
space:
mode:
Diffstat (limited to 'calendar/gui/calendar.c')
-rw-r--r--calendar/gui/calendar.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/calendar/gui/calendar.c b/calendar/gui/calendar.c
index c9f4dc9493..b451703e8a 100644
--- a/calendar/gui/calendar.c
+++ b/calendar/gui/calendar.c
@@ -434,7 +434,16 @@ calendar_object_changed (Calendar *cal, iCalObject *obj, int flags)
static void
calendar_day_change (time_t time, CalendarAlarm *which, void *closure)
{
+ GList *events;
+ Calendar *cal = closure;
+
calendar_set_day ();
+
+ for (events = cal->events; events; events = events->next){
+ iCalObject *obj = events->data;
+
+ ical_object_try_alarms (obj);
+ }
}
static void