diff options
author | Dan Winship <dwinship@redhat.com> | 2007-08-08 13:27:37 (GMT) |
---|---|---|
committer | Dan Winship <dwinship@redhat.com> | 2007-08-08 13:27:37 (GMT) |
commit | 6ca80a71461d414695dd83448d1d75d352be0438 (patch) | |
tree | 0a72e41c1482932d3ef4ac0aca0713b5a6a9ef2b /shell | |
parent | 2485e15030d2ae8b61272dbc16081e5e4f9c3e40 (diff) |
Always get the activity list from the shell view, not sometimes from the model
Diffstat (limited to 'shell')
-rw-r--r-- | shell/view/BuddyMenu.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/shell/view/BuddyMenu.py b/shell/view/BuddyMenu.py index 3162ab1..e986e03 100644 --- a/shell/view/BuddyMenu.py +++ b/shell/view/BuddyMenu.py @@ -88,9 +88,9 @@ class BuddyMenu(Palette): self.append_menu_item(menu_item) menu_item.show() - activity = shell_model.get_home().get_current_activity() + activity = self._shell.get_current_activity() if activity != None: - activity_ps = pservice.get_activity(activity.get_activity_id()) + activity_ps = pservice.get_activity(activity.get_id()) # FIXME check that the buddy is not in the activity already |