diff options
author | Eskil Heyn Olsen <eskil@src.gnome.org> | 1999-10-08 02:26:46 +0800 |
---|---|---|
committer | Eskil Heyn Olsen <eskil@src.gnome.org> | 1999-10-08 02:26:46 +0800 |
commit | df5623729472bac4b80d8c68bc93b29d68f68140 (patch) | |
tree | 27132d4856e899c1e161a0feba96f463ea4d635c /calendar/gui/calendar.c | |
parent | fe4a9b93de19146309bf95f3ebaf1314069c1503 (diff) | |
download | gsoc2013-evolution-df5623729472bac4b80d8c68bc93b29d68f68140.tar.gz gsoc2013-evolution-df5623729472bac4b80d8c68bc93b29d68f68140.tar.zst gsoc2013-evolution-df5623729472bac4b80d8c68bc93b29d68f68140.zip |
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
Diffstat (limited to 'calendar/gui/calendar.c')
-rw-r--r-- | calendar/gui/calendar.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/calendar/gui/calendar.c b/calendar/gui/calendar.c index d8b56160e8..57c9ad9230 100644 --- a/calendar/gui/calendar.c +++ b/calendar/gui/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 |