[Sugar-devel] How to start the Browse activity from my own activity?
Chris Ball
cjb at laptop.org
Mon Feb 1 18:39:10 EST 2010
Hi,
>>> sys.path.append("/home/olpc/Activities/Browse.activity")
>>> import webactivity
>> So it works only on the XO ... interesting.
> Yes, that was curious. Has nobody noticed it not working on SoaS
> or anything else?
For Wikibrowse under Sugar 0.82, we asked the activity registry where
Browse was installed and added that path, but in 0.84 that registry
was removed without a replacement API being offered, so the only way I
could see to get it working was the ugly XO-specific thing. Removing
APIs that are in use without fixing up activities that use them is not
very cool. :/
- Chris.
--
Chris Ball <cjb at laptop.org>
One Laptop Per Child
More information about the Sugar-devel
mailing list