Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/shell
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <marco@localhost.localdomain>2006-12-01 21:40:02 (GMT)
committer Marco Pesenti Gritti <marco@localhost.localdomain>2006-12-01 21:40:02 (GMT)
commit2b97505577521568fd1d45a13091629f36a2d8b9 (patch)
tree1d60a21b56b0bfbe4c7743d50770968c2f1dee22 /shell
parentb5b9d9d5f1de6d9f62dceb8e7aa1c437048f9065 (diff)
Switch to the new registry
Diffstat (limited to 'shell')
-rw-r--r--shell/view/home/FriendView.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/shell/view/home/FriendView.py b/shell/view/home/FriendView.py
index 52bc26e..e3343f8 100644
--- a/shell/view/home/FriendView.py
+++ b/shell/view/home/FriendView.py
@@ -29,7 +29,7 @@ class FriendView(hippo.CanvasBox):
hippo.CanvasBox.__init__(self, **kwargs)
self._pservice = PresenceService.get_instance()
- self._activity_registry = conf.get_activity_registry()
+ self._activity_registry = shell.get_model().get_registry()
self._buddy = buddy
self._buddy_icon = BuddyIcon(shell, menu_shell, buddy)
@@ -53,9 +53,9 @@ class FriendView(hippo.CanvasBox):
# services like mDNS where activities default services are marked
# somehow.
for serv in activity.get_services():
- act = self._activity_registry.get_activity_from_type(serv.get_type())
- if act:
- return act.get_icon()
+ bundle = self._activity_registry.get_bundle(serv.get_type())
+ if bundle:
+ return bundle.get_icon()
return None
def _remove_activity_icon(self):