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 /calendar/conduits | |
parent | b4fe4629868cbefe99efee2ada586ebe0fd7b1ec (diff) | |
download | gsoc2013-evolution-86a201c22b648be7ce815f64e2cd80b54c6edc8a.tar gsoc2013-evolution-86a201c22b648be7ce815f64e2cd80b54c6edc8a.tar.gz gsoc2013-evolution-86a201c22b648be7ce815f64e2cd80b54c6edc8a.tar.bz2 gsoc2013-evolution-86a201c22b648be7ce815f64e2cd80b54c6edc8a.tar.lz gsoc2013-evolution-86a201c22b648be7ce815f64e2cd80b54c6edc8a.tar.xz 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
Diffstat (limited to 'calendar/conduits')
-rw-r--r-- | calendar/conduits/calendar/calendar-conduit.c | 4 | ||||
-rw-r--r-- | calendar/conduits/todo/todo-conduit.c | 4 |
2 files changed, 6 insertions, 2 deletions
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; |