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>2007-01-10 14:30:21 (GMT)
committer Marco Pesenti Gritti <marco@localhost.localdomain>2007-01-10 14:30:21 (GMT)
commit84d34716134a71bfd53af2b16712068556c45881 (patch)
treee3580beb28f8f9de68141bc12f14459211716f92 /shell
parent79bc053795bb4c49865314eb76ba4727d4b0657d (diff)
Fix to follow the new home api
Diffstat (limited to 'shell')
-rw-r--r--shell/view/BuddyMenu.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/shell/view/BuddyMenu.py b/shell/view/BuddyMenu.py
index a020a59..82e58c2 100644
--- a/shell/view/BuddyMenu.py
+++ b/shell/view/BuddyMenu.py
@@ -88,9 +88,9 @@ class BuddyMenu(Menu):
icon = CanvasIcon(icon_name='stock-add')
self.add_action(icon, BuddyMenu.ACTION_MAKE_FRIEND)
- activity_id = shell_model.get_current_activity()
- if activity_id != None:
- activity_ps = pservice.get_activity(activity_id)
+ activity = shell_model.get_home().get_current_activity()
+ if activity != None:
+ activity_ps = pservice.get_activity(activity.get_id())
# FIXME check that the buddy is not in the activity already