diff options
author | Tomeu Vizoso <tomeu@tomeuvizoso.net> | 2007-07-01 10:55:10 (GMT) |
---|---|---|
committer | Tomeu Vizoso <tomeu@tomeuvizoso.net> | 2007-07-01 10:55:10 (GMT) |
commit | 4aee850af7b3de3dab24aa6cf72a855162e4fddd (patch) | |
tree | 8363ae249a4ddebe8d1ddd3e0362d496705139db /shell/view/home/FriendsBox.py | |
parent | aa5d6af260ce93495fd7bb9d19a094106c331e98 (diff) |
Replace Menu for Palette.
Diffstat (limited to 'shell/view/home/FriendsBox.py')
-rw-r--r-- | shell/view/home/FriendsBox.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/shell/view/home/FriendsBox.py b/shell/view/home/FriendsBox.py index 80dfd4b..2ce2e3b 100644 --- a/shell/view/home/FriendsBox.py +++ b/shell/view/home/FriendsBox.py @@ -26,11 +26,10 @@ from view.home.FriendView import FriendView class FriendsBox(SpreadBox): __gtype_name__ = 'SugarFriendsBox' - def __init__(self, shell, menu_shell): + def __init__(self, shell): SpreadBox.__init__(self, background_color=0xe2e2e2ff) self._shell = shell - self._menu_shell = menu_shell self._friends = {} self._my_icon = MyIcon(units.LARGE_ICON_SCALE) @@ -45,7 +44,7 @@ class FriendsBox(SpreadBox): friends.connect('friend-removed', self._friend_removed_cb) def add_friend(self, buddy_info): - icon = FriendView(self._shell, self._menu_shell, buddy_info) + icon = FriendView(self._shell, buddy_info) self.add_item(icon) self._friends[buddy_info.get_key()] = icon |