diff options
author | JP Rosevear <jpr@ximian.com> | 2001-10-27 02:15:27 +0800 |
---|---|---|
committer | JP Rosevear <jpr@src.gnome.org> | 2001-10-27 02:15:27 +0800 |
commit | 86a201c22b648be7ce815f64e2cd80b54c6edc8a (patch) | |
tree | d1c8457e480c2dd0d85eaabf12eb7cd027510400 | |
parent | b4fe4629868cbefe99efee2ada586ebe0fd7b1ec (diff) | |
download | gsoc2013-evolution-86a201c22b648be7ce815f64e2cd80b54c6edc8a.tar.gz gsoc2013-evolution-86a201c22b648be7ce815f64e2cd80b54c6edc8a.tar.zst gsoc2013-evolution-86a201c22b648be7ce815f64e2cd80b54c6edc8a.zip |
remove the uid from the map if was archived and is now deleted
001-10-26 JP Rosevear <jpr@ximian.com>
* conduits/todo/todo-conduit.c (pre_sync): remove the uid from the
map if was archived and is now deleted
* conduits/calendar/calendar-conduit.c: ditto
svn path=/trunk/; revision=14151
-rw-r--r-- | calendar/ChangeLog | 7 | ||||
-rw-r--r-- | calendar/conduits/calendar/calendar-conduit.c | 4 | ||||
-rw-r--r-- | calendar/conduits/todo/todo-conduit.c | 4 |
3 files changed, 13 insertions, 2 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog index 9ff40080f1..ef97844ff2 100644 --- a/calendar/ChangeLog +++ b/calendar/ChangeLog @@ -1,3 +1,10 @@ +2001-10-26 JP Rosevear <jpr@ximian.com> + + * conduits/todo/todo-conduit.c (pre_sync): remove the uid from the + map if was archived and is now deleted + + * conduits/calendar/calendar-conduit.c: ditto + 2001-10-26 Rodrigo Moya <rodrigo@ximian.com> * gui/e-calendar_table.c (delete_selected_components): diff --git a/calendar/conduits/calendar/calendar-conduit.c b/calendar/conduits/calendar/calendar-conduit.c index d79c238121..01580107b8 100644 --- a/calendar/conduits/calendar/calendar-conduit.c +++ b/calendar/conduits/calendar/calendar-conduit.c @@ -1032,6 +1032,8 @@ pre_sync (GnomePilotConduit *conduit, del_records++; break; } + } else if (ccc->type == CAL_CLIENT_CHANGE_DELETED) { + e_pilot_map_remove_by_uid (ctxt->map, uid); } } @@ -1180,7 +1182,7 @@ for_each_modified (GnomePilotConduitSyncAbs *conduit, g_return_val_if_fail (local != NULL, -1); if (*local == NULL) { - LOG ("beginning for_each_modified: beginning\n"); + LOG ("for_each_modified beginning\n"); iterator = ctxt->changed; diff --git a/calendar/conduits/todo/todo-conduit.c b/calendar/conduits/todo/todo-conduit.c index 4c0b3b92da..4c6289702c 100644 --- a/calendar/conduits/todo/todo-conduit.c +++ b/calendar/conduits/todo/todo-conduit.c @@ -734,6 +734,8 @@ pre_sync (GnomePilotConduit *conduit, del_records++; break; } + } else if (ccc->type == CAL_CLIENT_CHANGE_DELETED) { + e_pilot_map_remove_by_uid (ctxt->map, uid); } } @@ -882,7 +884,7 @@ for_each_modified (GnomePilotConduitSyncAbs *conduit, g_return_val_if_fail (local != NULL, 0); if (*local == NULL) { - LOG ("beginning for_each_modified: beginning\n"); + LOG ("for_each_modified beginning\n"); iterator = ctxt->changed; |