From 3581bfb3efdbdd9747749db0ddfa55a728f96719 Mon Sep 17 00:00:00 2001 From: JP Rosevear Date: Wed, 19 Dec 2001 15:19:33 +0000 Subject: go slow and clear the map if the last uri and the current uri do not match 2001-12-19 JP Rosevear * conduits/calendar/calendar-conduit.c (check_for_slow_setting): go slow and clear the map if the last uri and the current uri do not match (post_sync): save the last uri * conduits/calendar/calendar-conduit-config.h: handle a last uri config option * conduits/todo/todo-conduit-config.h: ditto * conduits/calendar/calendar-conduit.c (start_calendar_server): use the open_default_calendar method * conduits/todo/todo-conduit.c (start_calendar_server): same as above * cal-client/Makefile.am: link with bonobo conf * cal-client/cal-client.h: new protos * idl/evolution-calendar.idl: make sure open method raises appropriate exceptions * gui/e-itip-control.c (start_calendar_server): use cal_client_open_default_* calls * cal-client/cal-client.c (real_open_calendar): do the real work of loading (cal_client_open_calendar): use above (get_fall_back_uri): get the basic local uri (get_default_uri): get the default uri from the config db (cal_client_open_default_calendar): open the default uri or the fallback if the method is unsupported (cal_client_open_default_tasks): same for tasks svn path=/trunk/; revision=15179 --- calendar/idl/evolution-calendar.idl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'calendar/idl') diff --git a/calendar/idl/evolution-calendar.idl b/calendar/idl/evolution-calendar.idl index 43bb818eff..d400f13c01 100644 --- a/calendar/idl/evolution-calendar.idl +++ b/calendar/idl/evolution-calendar.idl @@ -295,7 +295,7 @@ module Calendar { /* Open a calendar from an URI */ void open (in string uri, in boolean only_if_exists, in Listener listener) - raises (NilListener); + raises (NilListener, InvalidURI, UnsupportedMethod); /* List of open URI's */ StringSeq uriList (in CalMode mode); -- cgit v1.2.3