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/GnomeCal.idl | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'calendar/gui/GnomeCal.idl') diff --git a/calendar/gui/GnomeCal.idl b/calendar/gui/GnomeCal.idl index 5c5d400d9e..3f9a64d291 100644 --- a/calendar/gui/GnomeCal.idl +++ b/calendar/gui/GnomeCal.idl @@ -96,6 +96,12 @@ module GNOME { */ string get_updated_objects (); + /* + * Returns the number of objects in the calendar + * repository. + */ + long get_number_of_objects(); + /* * done: * -- cgit v1.2.3