From 42fef182f4a2853cd7da0c550f77a81c5f749d90 Mon Sep 17 00:00:00 2001 From: Marco Pesenti Gritti Date: Sun, 27 May 2007 18:24:10 +0000 Subject: Refactor the bundle registry. Move it inside the shell and expose the parts that should be public to the shell dbus service. --- (limited to 'sugar/activity/__init__.py') 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 -- cgit v0.9.1