From 227dde68c70406343f08309e669ec95e61a4427f Mon Sep 17 00:00:00 2001 From: Ronald Kuetemeier Date: Thu, 30 Jan 2003 22:13:01 +0000 Subject: Fixes #35572 2003-30-01 Ronald Kuetemeier Fixes #35572 * gui/alarm-notify/alarm-queue.c: set saved_notification_time to last notification time when we update the config to last notification, so alarms will not get trigged again if a new calendar window is opened. svn path=/trunk/; revision=19690 --- calendar/ChangeLog | 8 ++++++++ calendar/gui/alarm-notify/alarm-queue.c | 1 + 2 files changed, 9 insertions(+) (limited to 'calendar') diff --git a/calendar/ChangeLog b/calendar/ChangeLog index adebdc25af..a7e22922ae 100644 --- a/calendar/ChangeLog +++ b/calendar/ChangeLog @@ -1,3 +1,11 @@ +2003-30-01 Ronald Kuetemeier + + Fixes #35572 + + * gui/alarm-notify/alarm-queue.c: set saved_notification_time to last + notification time when we update the config to last notification, so + alarms will not get trigged again if a new calendar window is opened. + 2003-01-26 Chris Toshok * conduits/todo/todo-conduit.c: CalClient and CalComponent are diff --git a/calendar/gui/alarm-notify/alarm-queue.c b/calendar/gui/alarm-notify/alarm-queue.c index 5a5875f321..4e2bc6de53 100644 --- a/calendar/gui/alarm-notify/alarm-queue.c +++ b/calendar/gui/alarm-notify/alarm-queue.c @@ -245,6 +245,7 @@ alarm_trigger_cb (gpointer alarm_id, time_t trigger, gpointer data) comp = cqa->alarms->comp; save_notification_time (trigger); + saved_notification_time = trigger; qa = lookup_queued_alarm (cqa, alarm_id); if (!qa) -- cgit v1.2.3