Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/shell
diff options
context:
space:
mode:
Diffstat (limited to 'shell')
-rw-r--r--shell/view/frame/RightPanel.py3
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)