diff options
author | Eskil Heyn Olsen <eskil@src.gnome.org> | 1999-12-07 11:43:51 +0800 |
---|---|---|
committer | Eskil Heyn Olsen <eskil@src.gnome.org> | 1999-12-07 11:43:51 +0800 |
commit | b279ef22cc6ca184d08fc6a46a49756778bebbf6 (patch) | |
tree | c3e1821b98946023364b7092f359846582af53ec /calendar/gui/calendar-conduit.h | |
parent | d9c655cd489e0c2989669005b5fa5415c92f8097 (diff) | |
download | gsoc2013-evolution-b279ef22cc6ca184d08fc6a46a49756778bebbf6.tar.gz gsoc2013-evolution-b279ef22cc6ca184d08fc6a46a49756778bebbf6.tar.zst gsoc2013-evolution-b279ef22cc6ca184d08fc6a46a49756778bebbf6.zip |
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
Diffstat (limited to 'calendar/gui/calendar-conduit.h')
-rw-r--r-- | calendar/gui/calendar-conduit.h | 2 |
1 files changed, 2 insertions, 0 deletions
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; |