diff options
author | Marco Pesenti Gritti <marco@localhost.localdomain> | 2006-10-18 14:23:06 (GMT) |
---|---|---|
committer | Marco Pesenti Gritti <marco@localhost.localdomain> | 2006-10-18 14:23:06 (GMT) |
commit | 54dcb672e563063b590775eb157b3b6c9f9af752 (patch) | |
tree | 0a746ee03d0909134c3985e3d1bc954d2656a32a /shell/view/frame/FriendsBox.py | |
parent | 7a06102b2eff1d7e19cd1a9b153f328dba989704 (diff) |
Move the menu positioning code inside menu shell and
unify it.
Diffstat (limited to 'shell/view/frame/FriendsBox.py')
-rw-r--r-- | shell/view/frame/FriendsBox.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/shell/view/frame/FriendsBox.py b/shell/view/frame/FriendsBox.py index 345a804..92e66b6 100644 --- a/shell/view/frame/FriendsBox.py +++ b/shell/view/frame/FriendsBox.py @@ -22,7 +22,6 @@ from sugar.graphics import style from sugar.presence import PresenceService from view.BuddyIcon import BuddyIcon from model.BuddyModel import BuddyModel -from view.frame.MenuStrategy import MenuStrategy class FriendsBox(hippo.CanvasBox): def __init__(self, shell, menu_shell): @@ -44,7 +43,6 @@ class FriendsBox(hippo.CanvasBox): model = BuddyModel(buddy=buddy) icon = BuddyIcon(self._shell, self._menu_shell, model) style.apply_stylesheet(icon, 'frame.BuddyIcon') - icon.set_menu_strategy(MenuStrategy()) self.append(icon) self._buddies[buddy.get_name()] = icon |