From b279ef22cc6ca184d08fc6a46a49756778bebbf6 Mon Sep 17 00:00:00 2001 From: Eskil Heyn Olsen Date: Tue, 7 Dec 1999 03:43:51 +0000 Subject: Check if local store is empty. If, force slow sync. * calendar-conduit.c (pre_sync): Check if local store is empty. If, force slow sync. * GnomeCal.idl (GNOME): Added get_number_of_objects. * corba-cal.c (cal_repo_get_number_of_objects): implemented the get_number_of_objects. * calendar-conduit-control-applet.c (setStateCfg): Fixed bug that caused the capplet to always set the sync action to Disable upon start. svn path=/trunk/; revision=1475 --- calendar/gui/calendar-conduit.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'calendar/gui/calendar-conduit.h') diff --git a/calendar/gui/calendar-conduit.h b/calendar/gui/calendar-conduit.h index 2ebf453e7e..711609e96a 100644 --- a/calendar/gui/calendar-conduit.h +++ b/calendar/gui/calendar-conduit.h @@ -65,6 +65,7 @@ gcalconduit_load_configuration(GCalConduitCfg **c, g_assert(*c != NULL); gnome_config_push_prefix(prefix); (*c)->open_secret = gnome_config_get_bool("open_secret=FALSE"); + (*c)->sync_type = GnomePilotConduitSyncTypeCustom; /* set in capplets main */ gnome_config_pop_prefix(); (*c)->pilotId = pilotId; @@ -92,6 +93,7 @@ gcalconduit_dupe_configuration(GCalConduitCfg *c) { GCalConduitCfg *retval; g_return_val_if_fail(c!=NULL,NULL); retval = g_new0(GCalConduitCfg,1); + retval->sync_type = c->sync_type; retval->open_secret = c->open_secret; retval->pilotId = c->pilotId; return retval; -- cgit v1.2.3