From 414da9ba352b822a7c8071a34b48939395bab632 Mon Sep 17 00:00:00 2001 From: JP Rosevear Date: Wed, 11 Apr 2001 20:08:30 +0000 Subject: prepend to both changes and change_ids when different and mark as 2001-04-11 JP Rosevear * 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 svn path=/trunk/; revision=9246 --- calendar/ChangeLog | 6 ++++++ calendar/pcs/cal-backend-file.c | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) (limited to 'calendar') 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 + + * 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 * 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; } -- cgit