diff options
-rw-r--r-- | calendar/ChangeLog | 5 | ||||
-rw-r--r-- | calendar/gui/alarm-notify/alarm-queue.c | 2 |
2 files changed, 7 insertions, 0 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog index a7c1f4ae23..2f44fda12c 100644 --- a/calendar/ChangeLog +++ b/calendar/ChangeLog @@ -1,3 +1,8 @@ +2004-02-18 Rodrigo Moya <rodrigo@ximian.com> + + * gui/alarm-notify/alarm-queue.c (query_objects_changed_cb): add 1 second + to the last notification time, or we'll get many times the same notification. + 2004-02-18 Kidd Wang <kidd.wang@sun.com> * gui/e-cal-view.c: (e_calendar_view_add_event), diff --git a/calendar/gui/alarm-notify/alarm-queue.c b/calendar/gui/alarm-notify/alarm-queue.c index 9b5a94d2b0..1cd96af787 100644 --- a/calendar/gui/alarm-notify/alarm-queue.c +++ b/calendar/gui/alarm-notify/alarm-queue.c @@ -523,6 +523,8 @@ query_objects_changed_cb (ECal *client, GList *objects, gpointer data) from = config_data_get_last_notification_time (); if (from == -1) from = time (NULL); + else + from += 1; /* we add 1 to make sure the alarm is not displayed twice */ zone = config_data_get_timezone (); |