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-09-21 13:02:46 (GMT)
committer Marco Pesenti Gritti <marco@localhost.localdomain>2006-09-21 13:02:46 (GMT)
commit229793e9f0b600da7a5c6bfd8b92de7925039ecf (patch)
tree5576ffa1492823ceeec17425630abe9cc57bb24d /shell
parent3c64b65829240080d532a415fb9d157a98653e97 (diff)
Adapt to API change
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 7c20f72..3658f87 100644
--- a/shell/view/BuddyMenu.py
+++ b/shell/view/BuddyMenu.py
@@ -32,9 +32,9 @@ class BuddyMenu(Menu):
icon = IconItem(icon_name='stock-chat')
self.add_action(icon, -1)
- activity = shell_model.get_current_activity()
- if activity != None:
- activity_ps = pservice.get_activity(activity.get_id())
+ activity_id = shell_model.get_current_activity()
+ if activity_id != None:
+ activity_ps = pservice.get_activity(activity_id)
# FIXME check that the buddy is not in the activity already