aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui
diff options
context:
space:
mode:
Diffstat (limited to 'calendar/gui')
-rw-r--r--calendar/gui/alarm-notify/alarm-queue.c2
1 files changed, 2 insertions, 0 deletions
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 ();