Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/shell/ActivityHost.py
diff options
context:
space:
mode:
Diffstat (limited to 'shell/ActivityHost.py')
-rw-r--r--shell/ActivityHost.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/shell/ActivityHost.py b/shell/ActivityHost.py
index 84577c1..d8b6569 100644
--- a/shell/ActivityHost.py
+++ b/shell/ActivityHost.py
@@ -1,6 +1,7 @@
import gtk
import dbus
+from sugar import conf
from sugar.activity import Activity
from PeopleWindow import PeopleWindow
@@ -20,7 +21,8 @@ class ActivityHost:
self._gdk_window = gtk.gdk.window_foreign_new(self._xid)
self._people_window = PeopleWindow(shell, self)
- info = self._shell.get_registry().get_activity(self._default_type)
+ registry = conf.get_activity_registry()
+ info = registry.get_activity(self._default_type)
self._icon_name = info.get_icon()
def get_id(self):