From 179cdf36868b8702b3bc7a78201f6d70142a6a6d Mon Sep 17 00:00:00 2001 From: Dan Winship Date: Tue, 28 Oct 2003 13:32:55 +0000 Subject: New; tell each query about a created/modified/removed object. * pcs/cal-backend.c (cal_backend_notify_object_created, cal_backend_notify_object_modified, cal_backend_notify_object_removed): New; tell each query about a created/modified/removed object. * pcs/cal.c (cal_notify_object_created): Use cal_backend_notify_object_created. (cal_notify_object_modified, cal_notify_object_removed): Likewise for modified/removed (cal_notify_objects_received): we need both the before and after forms for the modified objects so they can be resolved as adds/modifies/removes per-query. But the caller can just call the cal_backend_* routines for each object anyway, so just remove the created/modified/removed lists. * pcs/cal-backend-sync.c (cal_backend_sync_receive_objects): Remove created/modified/removed list arguments. (_cal_backend_receive_objects): Likewise. * pcs/cal-backend-file.c (cal_backend_file_receive_objects): Remove created/modified/removed list arguments. Replace the one use of *removed with a call to cal_backend_notify_object_removed. svn path=/trunk/; revision=23102 --- calendar/ChangeLog | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) (limited to 'calendar/ChangeLog') diff --git a/calendar/ChangeLog b/calendar/ChangeLog index 64d3db8b87..4a1c47b993 100644 --- a/calendar/ChangeLog +++ b/calendar/ChangeLog @@ -1,3 +1,28 @@ +2003-10-27 Dan Winship + + * pcs/cal-backend.c (cal_backend_notify_object_created, + cal_backend_notify_object_modified, + cal_backend_notify_object_removed): New; tell each query about a + created/modified/removed object. + + * pcs/cal.c (cal_notify_object_created): Use + cal_backend_notify_object_created. + (cal_notify_object_modified, cal_notify_object_removed): Likewise + for modified/removed + (cal_notify_objects_received): we need both the before and after + forms for the modified objects so they can be resolved as + adds/modifies/removes per-query. But the caller can just call the + cal_backend_* routines for each object anyway, so just remove the + created/modified/removed lists. + + * pcs/cal-backend-sync.c (cal_backend_sync_receive_objects): + Remove created/modified/removed list arguments. + (_cal_backend_receive_objects): Likewise. + + * pcs/cal-backend-file.c (cal_backend_file_receive_objects): + Remove created/modified/removed list arguments. Replace the one + use of *removed with a call to cal_backend_notify_object_removed. + 2003-10-27 JP Rosevear * gui/gnome-cal.c (setup_widgets): store config objects as well -- cgit v1.2.3