From 98b072ccedab8676f555b26d904bf95435f381f6 Mon Sep 17 00:00:00 2001 From: Eskil Heyn Olsen Date: Wed, 8 Dec 1999 00:45:53 +0000 Subject: Capplets now sets first_sync on enable, this should make the conduit copy * calendar-conduit-control-applet.c (setSettings): Capplets now sets first_sync on enable, this should make the conduit copy old entries from the pilot to gnomecal. svn path=/trunk/; revision=1476 --- calendar/ChangeLog | 6 ++++++ calendar/calendar-conduit-control-applet.c | 5 ++++- calendar/conduits/calendar/calendar-conduit-control-applet.c | 5 ++++- calendar/gui/calendar-conduit-control-applet.c | 5 ++++- 4 files changed, 18 insertions(+), 3 deletions(-) (limited to 'calendar') diff --git a/calendar/ChangeLog b/calendar/ChangeLog index af64787794..09636d0f9f 100644 --- a/calendar/ChangeLog +++ b/calendar/ChangeLog @@ -1,3 +1,9 @@ +1999-12-08 Eskil Heyn Olsen + + * calendar-conduit-control-applet.c (setSettings): Capplets now + sets first_sync on enable, this should make the conduit copy old + entries from the pilot to gnomecal. + 1999-12-07 Eskil Heyn Olsen * calendar-conduit.c (pre_sync): Check if local store is diff --git a/calendar/calendar-conduit-control-applet.c b/calendar/calendar-conduit-control-applet.c index 3c5b2d1b98..ae4bda428f 100644 --- a/calendar/calendar-conduit-control-applet.c +++ b/calendar/calendar-conduit-control-applet.c @@ -60,7 +60,10 @@ static void setSettings(GCalConduitCfg* conduitCfg) { if(conduitCfg->sync_type!=GnomePilotConduitSyncTypeCustom) - gpilotd_conduit_mgmt_enable(conduit,pilotId,conduitCfg->sync_type); + gpilotd_conduit_mgmt_enable_with_first_sync(conduit,pilotId, + conduitCfg->sync_type, + conduitCfg->sync_type, + TRUE); else gpilotd_conduit_mgmt_disable(conduit,pilotId); diff --git a/calendar/conduits/calendar/calendar-conduit-control-applet.c b/calendar/conduits/calendar/calendar-conduit-control-applet.c index 3c5b2d1b98..ae4bda428f 100644 --- a/calendar/conduits/calendar/calendar-conduit-control-applet.c +++ b/calendar/conduits/calendar/calendar-conduit-control-applet.c @@ -60,7 +60,10 @@ static void setSettings(GCalConduitCfg* conduitCfg) { if(conduitCfg->sync_type!=GnomePilotConduitSyncTypeCustom) - gpilotd_conduit_mgmt_enable(conduit,pilotId,conduitCfg->sync_type); + gpilotd_conduit_mgmt_enable_with_first_sync(conduit,pilotId, + conduitCfg->sync_type, + conduitCfg->sync_type, + TRUE); else gpilotd_conduit_mgmt_disable(conduit,pilotId); diff --git a/calendar/gui/calendar-conduit-control-applet.c b/calendar/gui/calendar-conduit-control-applet.c index 3c5b2d1b98..ae4bda428f 100644 --- a/calendar/gui/calendar-conduit-control-applet.c +++ b/calendar/gui/calendar-conduit-control-applet.c @@ -60,7 +60,10 @@ static void setSettings(GCalConduitCfg* conduitCfg) { if(conduitCfg->sync_type!=GnomePilotConduitSyncTypeCustom) - gpilotd_conduit_mgmt_enable(conduit,pilotId,conduitCfg->sync_type); + gpilotd_conduit_mgmt_enable_with_first_sync(conduit,pilotId, + conduitCfg->sync_type, + conduitCfg->sync_type, + TRUE); else gpilotd_conduit_mgmt_disable(conduit,pilotId); -- cgit v1.2.3