From df5623729472bac4b80d8c68bc93b29d68f68140 Mon Sep 17 00:00:00 2001 From: Eskil Heyn Olsen Date: Thu, 7 Oct 1999 18:26:46 +0000 Subject: moved the pilot_status = MOD up, so even a CHANGE_SUMMARY will set the * calendar.c (calendar_object_changed): moved the pilot_status = MOD up, so even a CHANGE_SUMMARY will set the modified flag. * calendar-conduit.c: more _free calls, vamped the noise on output. svn path=/trunk/; revision=1320 --- calendar/calendar.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'calendar/calendar.c') diff --git a/calendar/calendar.c b/calendar/calendar.c index d8b56160e8..57c9ad9230 100644 --- a/calendar/calendar.c +++ b/calendar/calendar.c @@ -505,16 +505,16 @@ void calendar_object_changed (Calendar *cal, iCalObject *obj, int flags) { obj->last_mod = time (NULL); - + obj->pilot_status = ICAL_PILOT_SYNC_MOD; + if (!(flags & CHANGE_DATES)) return; /* Remove any alarms on the alarm list for this object */ while (alarm_kill (obj)) ; - ical_object_try_alarms (obj); - obj->pilot_status = ICAL_PILOT_SYNC_MOD; + ical_object_try_alarms (obj); } static void -- cgit v1.2.3