[Sugar-devel] sugar 0.84 activity registry
Tony Anderson
tony_anderson at usa.net
Wed Nov 24 07:51:03 EST 2010
Hi,
I am trying the DataManager activity on 0.84. The activity.registry
seems to have been deleted or changed.
from sugar.activity import registry
...
#Retrieve and ActivityRegistry Object
ar = registry.get_registry()
# use get_activities() to get a list of ActivityInfo objects
and iterate through each
for ai in ar.get_activities():
print ai.name
Is this an oversight or is this function now handled in a different way?
Yours,
Tony
More information about the Sugar-devel
mailing list