aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--calendar/ChangeLog6
-rw-r--r--calendar/pcs/cal-backend-file.c4
2 files changed, 8 insertions, 2 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog
index 1c31d992b5..74b9069362 100644
--- a/calendar/ChangeLog
+++ b/calendar/ChangeLog
@@ -1,3 +1,9 @@
+2001-04-11 JP Rosevear <jpr@ximian.com>
+
+ * pcs/cal-backend-file.c (cal_backend_file_compute_changes):
+ prepend to both changes and change_ids when different and mark as
+ modified, not added
+
2001-04-11 Christopher James Lahey <clahey@ximian.com>
* gui/calendar-model.c (calendar_model_append_row): Fix this to
diff --git a/calendar/pcs/cal-backend-file.c b/calendar/pcs/cal-backend-file.c
index a624db9f12..1267f44e3f 100644
--- a/calendar/pcs/cal-backend-file.c
+++ b/calendar/pcs/cal-backend-file.c
@@ -1049,8 +1049,8 @@ cal_backend_file_compute_changes (CalBackend *backend, CalObjType type, const ch
case E_DBHASH_STATUS_DIFFERENT:
coc = GNOME_Evolution_Calendar_CalObjChange__alloc ();
coc->calobj = CORBA_string_dup (calobj);
- coc->type = GNOME_Evolution_Calendar_ADDED;
- changes = g_list_append (changes, coc);
+ coc->type = GNOME_Evolution_Calendar_MODIFIED;
+ changes = g_list_prepend (changes, coc);
change_ids = g_list_prepend (change_ids, uid);
break;
}