aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRonald Kuetemeier <ronald@kuetemeier.com>2003-01-31 06:13:01 +0800
committerRodrigo Moya <rodrigo@src.gnome.org>2003-01-31 06:13:01 +0800
commit227dde68c70406343f08309e669ec95e61a4427f (patch)
tree74a385adf64582c591d1c5c187677355bf7e43b3
parentcb8c7b9bf3b4451acb65ca330b826ecb5e88125c (diff)
downloadgsoc2013-evolution-227dde68c70406343f08309e669ec95e61a4427f.tar
gsoc2013-evolution-227dde68c70406343f08309e669ec95e61a4427f.tar.gz
gsoc2013-evolution-227dde68c70406343f08309e669ec95e61a4427f.tar.bz2
gsoc2013-evolution-227dde68c70406343f08309e669ec95e61a4427f.tar.lz
gsoc2013-evolution-227dde68c70406343f08309e669ec95e61a4427f.tar.xz
gsoc2013-evolution-227dde68c70406343f08309e669ec95e61a4427f.tar.zst
gsoc2013-evolution-227dde68c70406343f08309e669ec95e61a4427f.zip
Fixes #35572
2003-30-01 Ronald Kuetemeier <ronald@kuetemeier.com> 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
-rw-r--r--calendar/ChangeLog8
-rw-r--r--calendar/gui/alarm-notify/alarm-queue.c1
2 files changed, 9 insertions, 0 deletions
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 <ronald@kuetemeier.com>
+
+ 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 <toshok@ximian.com>
* 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)