From 2ad9696c87c039bbf8449665f237157f71f1b060 Mon Sep 17 00:00:00 2001 From: Marco Pesenti Gritti Date: Mon, 25 Sep 2006 17:15:23 +0000 Subject: Adapt to BuddyModel constructor change --- 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) -- cgit v0.9.1