Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/shell/view/Shell.py
diff options
context:
space:
mode:
authorDan Williams <dcbw@redhat.com>2007-05-03 02:21:15 (GMT)
committer Dan Williams <dcbw@redhat.com>2007-05-03 02:21:15 (GMT)
commit65998a10c668078c1ac26d2ba0c94975a26c172c (patch)
tree83feaff50d903d0d6022e9fb02f3c4a017237378 /shell/view/Shell.py
parent3502c58c47e9479cc10ab9b30abfa18beb6bbf99 (diff)
Use bundle registry correctly
Diffstat (limited to 'shell/view/Shell.py')
-rw-r--r--shell/view/Shell.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/shell/view/Shell.py b/shell/view/Shell.py
index 0b6519c..b57df48 100644
--- a/shell/view/Shell.py
+++ b/shell/view/Shell.py
@@ -24,7 +24,7 @@ from view.home.HomeWindow import HomeWindow
from sugar.activity.activityhandle import ActivityHandle
from sugar.graphics.popupcontext import PopupContext
from view.ActivityHost import ActivityHost
-from sugar.activity import activityfactory
+from sugar.activity import activityfactory, bundleregistry
from view.frame.frame import Frame
from view.keyhandler import KeyHandler
import sugar
@@ -113,7 +113,7 @@ class Shell(gobject.GObject):
# Get the service name for this activity, if
# we have a bundle on the system capable of handling
# this activity type
- breg = self._model.get_bundle_registry()
+ breg = bundleregistry.get_registry()
bundle = breg.get_bundle(bundle_id)
if not bundle:
logging.error("Couldn't find activity for type %s" % bundle_id)