From 6ca80a71461d414695dd83448d1d75d352be0438 Mon Sep 17 00:00:00 2001 From: Dan Winship Date: Wed, 8 Aug 2007 09:27:37 -0400 Subject: [PATCH] Always get the activity list from the shell view, not sometimes from the model --- shell/view/BuddyMenu.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/shell/view/BuddyMenu.py b/shell/view/BuddyMenu.py index 3162ab1f..e986e034 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