aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEskil Heyn Olsen <eskil@src.gnome.org>1999-12-08 08:45:53 +0800
committerEskil Heyn Olsen <eskil@src.gnome.org>1999-12-08 08:45:53 +0800
commit98b072ccedab8676f555b26d904bf95435f381f6 (patch)
treedc34986348bbb5218542cec3ca90d0039c5fb070
parentb279ef22cc6ca184d08fc6a46a49756778bebbf6 (diff)
downloadgsoc2013-evolution-98b072ccedab8676f555b26d904bf95435f381f6.tar
gsoc2013-evolution-98b072ccedab8676f555b26d904bf95435f381f6.tar.gz
gsoc2013-evolution-98b072ccedab8676f555b26d904bf95435f381f6.tar.bz2
gsoc2013-evolution-98b072ccedab8676f555b26d904bf95435f381f6.tar.lz
gsoc2013-evolution-98b072ccedab8676f555b26d904bf95435f381f6.tar.xz
gsoc2013-evolution-98b072ccedab8676f555b26d904bf95435f381f6.tar.zst
gsoc2013-evolution-98b072ccedab8676f555b26d904bf95435f381f6.zip
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
-rw-r--r--calendar/ChangeLog6
-rw-r--r--calendar/calendar-conduit-control-applet.c5
-rw-r--r--calendar/conduits/calendar/calendar-conduit-control-applet.c5
-rw-r--r--calendar/gui/calendar-conduit-control-applet.c5
4 files changed, 18 insertions, 3 deletions
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 <deity@eskil.dk>
+
+ * 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 <deity@eskil.dk>
* 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);