diff options
author | Marco Pesenti Gritti <marco@localhost.localdomain> | 2006-09-19 12:04:11 (GMT) |
---|---|---|
committer | Marco Pesenti Gritti <marco@localhost.localdomain> | 2006-09-19 12:04:11 (GMT) |
commit | 9ff192d0b3ab7ed3259e1f934eb4421e3ff9032d (patch) | |
tree | 4d14ef19d61569ad446e431f61689ea84b3a319a /shell/view/BuddyIcon.py | |
parent | e8a457a2663f809e3d745bac35f718fe420e1135 (diff) |
Use a different menu shell for the zoom view and the frame
Diffstat (limited to 'shell/view/BuddyIcon.py')
-rw-r--r-- | shell/view/BuddyIcon.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/shell/view/BuddyIcon.py b/shell/view/BuddyIcon.py index ad5fd03..0cf90fe 100644 --- a/shell/view/BuddyIcon.py +++ b/shell/view/BuddyIcon.py @@ -2,8 +2,8 @@ from sugar.canvas.MenuIcon import MenuIcon from view.BuddyMenu import BuddyMenu class BuddyIcon(MenuIcon): - def __init__(self, shell, friend): - MenuIcon.__init__(self, shell.get_grid(), icon_name='stock-buddy', + def __init__(self, shell, menu_shell, friend): + MenuIcon.__init__(self, menu_shell, icon_name='stock-buddy', color=friend.get_color(), size=96) self._shell = shell |