On Fri, 2007-01-12 at 08:25 +0100, Robert Staudinger wrote: > Hi, > > as you may know abiword has a good deal of infrastructure that needs > to be in place before the editing canvas can be used. Libabiword users > therefore have to call libabiword_init() before creating the first > "abiwidget". A libabiword_shutdown()[1] call is provided as well. > > Now, is it possible to track the number of open activities of the same > class in sugar? If so, libabiword could be initialised and shut down > on demand. I suspect that _shutdown() is not called at the moment. >
The easier way to do this is probably to use start/stop functions inside the main class .py. A bit of an hack but it should work... see how the web activity does it. Marco _______________________________________________ Sugar mailing list [email protected] http://mailman.laptop.org/mailman/listinfo/sugar
