aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/conduits/todo/todo-conduit.c
diff options
context:
space:
mode:
authorJP Rosevear <jpr@ximian.com>2001-10-27 11:51:03 +0800
committerJP Rosevear <jpr@src.gnome.org>2001-10-27 11:51:03 +0800
commit3ba538184234389a2798fc75c7148e8d255a6cbc (patch)
tree4183b97f4b00b3a17ef0390b1e65b5c5b4420b24 /calendar/conduits/todo/todo-conduit.c
parent8f983e58b6ff2b61571b3b32a364bee44e511151 (diff)
downloadgsoc2013-evolution-3ba538184234389a2798fc75c7148e8d255a6cbc.tar
gsoc2013-evolution-3ba538184234389a2798fc75c7148e8d255a6cbc.tar.gz
gsoc2013-evolution-3ba538184234389a2798fc75c7148e8d255a6cbc.tar.bz2
gsoc2013-evolution-3ba538184234389a2798fc75c7148e8d255a6cbc.tar.lz
gsoc2013-evolution-3ba538184234389a2798fc75c7148e8d255a6cbc.tar.xz
gsoc2013-evolution-3ba538184234389a2798fc75c7148e8d255a6cbc.tar.zst
gsoc2013-evolution-3ba538184234389a2798fc75c7148e8d255a6cbc.zip
remove the merges as valid sync types
2001-10-26 JP Rosevear <jpr@ximian.com> * conduits/calendar/e-calendar.conduit.in: remove the merges as valid sync types * conduits/todo/e-todo.conduit.in: as above * conduits/calendar/calendar-conduit.c (pre_sync): write out only the touched records if we are doing copies * conduits/todo/todo-conduit.c: as above * conduits/calendar/calendar-conduit-config.h (calconduit_load_configuration): get the sync type * conduits/todo/todo-conduit-config.h: as above svn path=/trunk/; revision=14198
Diffstat (limited to 'calendar/conduits/todo/todo-conduit.c')
-rw-r--r--calendar/conduits/todo/todo-conduit.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/calendar/conduits/todo/todo-conduit.c b/calendar/conduits/todo/todo-conduit.c
index 8bd153364d..1dac791862 100644
--- a/calendar/conduits/todo/todo-conduit.c
+++ b/calendar/conduits/todo/todo-conduit.c
@@ -759,7 +759,10 @@ pre_sync (GnomePilotConduit *conduit,
g_free (buf);
check_for_slow_setting (conduit, ctxt);
-
+ if (ctxt->cfg->sync_type == GnomePilotConduitSyncTypeCopyToPilot
+ || ctxt->cfg->sync_type == GnomePilotConduitSyncTypeCopyFromPilot)
+ ctxt->map->write_touched_only = TRUE;
+
return 0;
}