From 2ad9696c87c039bbf8449665f237157f71f1b060 Mon Sep 17 00:00:00 2001 From: Marco Pesenti Gritti Date: Mon, 25 Sep 2006 19:15:23 +0200 Subject: [PATCH] Adapt to BuddyModel constructor change --- shell/view/frame/RightPanel.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/shell/view/frame/RightPanel.py b/shell/view/frame/RightPanel.py index 04f94785..28c81b3a 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)