s/BuddyInfo/BuddyModel

This commit is contained in:
Marco Pesenti Gritti
2006-09-20 12:27:38 +02:00
parent d0f23744f0
commit 09db49cc18
4 changed files with 7 additions and 7 deletions
+2 -2
View File
@@ -5,7 +5,7 @@ from sugar.canvas.IconColor import IconColor
from sugar.canvas.CanvasBox import CanvasBox
from sugar.presence import PresenceService
from view.BuddyIcon import BuddyIcon
from model.BuddyInfo import BuddyInfo
from model.BuddyModel import BuddyModel
from view.frame.MenuStrategy import MenuStrategy
class RightPanel(CanvasBox):
@@ -25,7 +25,7 @@ class RightPanel(CanvasBox):
shell.connect('activity-changed', self.__activity_changed_cb)
def add(self, buddy):
icon = BuddyIcon(self._shell, self._menu_shell, BuddyInfo(buddy))
icon = BuddyIcon(self._shell, self._menu_shell, BuddyModel(buddy))
icon.set_menu_strategy(MenuStrategy())
self.set_constraints(icon, 3, 3)
self.add_child(icon)