diff options
author | Marco Pesenti Gritti <marco@localhost.localdomain> | 2007-05-27 18:24:10 (GMT) |
---|---|---|
committer | Marco Pesenti Gritti <marco@localhost.localdomain> | 2007-05-27 18:24:10 (GMT) |
commit | 42fef182f4a2853cd7da0c550f77a81c5f749d90 (patch) | |
tree | 6366c97d5c324918ce63668f2af4e18c17d835dd /sugar/activity/__init__.py | |
parent | 8c70ff2d8647bc6378398aeecf0e8a74a4c5a82c (diff) |
Refactor the bundle registry. Move it inside
the shell and expose the parts that should be
public to the shell dbus service.
Diffstat (limited to 'sugar/activity/__init__.py')
-rw-r--r-- | sugar/activity/__init__.py | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/sugar/activity/__init__.py b/sugar/activity/__init__.py index 524cdfc..84539a3 100644 --- a/sugar/activity/__init__.py +++ b/sugar/activity/__init__.py @@ -10,16 +10,7 @@ takes a small dictionary with values corresponding to a sugar.activity.activityhandle.ActivityHandle -describing an individual instance of the activity. The -ActivityFactory service is registered with dbus using the -global - - sugar.activity.bundleregistry.BundleRegistry - -service, which creates dbus .service files in a well known -directory. Those files tell dbus what executable to run -in order to load the ActivityFactory which will provide -the creation service. +describing an individual instance of the activity. Each activity so registered is described by a @@ -45,3 +36,6 @@ class. This class allows for querying the ID of the root window, requesting sharing across the network, and basic "what type of application are you" queries. """ + +from sugar.activity.registry import ActivityRegistry +from sugar.activity.registry import ActivityInfo |