diff options
author | Marco Pesenti Gritti <marco@localhost.localdomain> | 2006-09-25 17:15:23 (GMT) |
---|---|---|
committer | Marco Pesenti Gritti <marco@localhost.localdomain> | 2006-09-25 17:15:23 (GMT) |
commit | 2ad9696c87c039bbf8449665f237157f71f1b060 (patch) | |
tree | 4cb4d1e7ffab202f186d544ca8edfc1575a0ca85 /shell | |
parent | 2ac1bf73029b01d94ca750c2b9aa52821ff6ef97 (diff) |
Adapt to BuddyModel constructor change
Diffstat (limited to 'shell')
-rw-r--r-- | shell/view/frame/RightPanel.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/shell/view/frame/RightPanel.py b/shell/view/frame/RightPanel.py index 04f9478..28c81b3 100644 --- a/shell/view/frame/RightPanel.py +++ b/shell/view/frame/RightPanel.py @@ -25,7 +25,8 @@ class RightPanel(CanvasBox): shell.connect('activity-changed', self.__activity_changed_cb) def add(self, buddy): - icon = BuddyIcon(self._shell, self._menu_shell, BuddyModel(buddy)) + model = BuddyModel(buddy=buddy) + icon = BuddyIcon(self._shell, self._menu_shell, model) icon.set_menu_strategy(MenuStrategy()) self.set_constraints(icon, 5, 5) self.add_child(icon) |