Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar
This commit is contained in:
commit
b1354cf711
@ -25,7 +25,8 @@ class RightPanel(CanvasBox):
|
|||||||
shell.connect('activity-changed', self.__activity_changed_cb)
|
shell.connect('activity-changed', self.__activity_changed_cb)
|
||||||
|
|
||||||
def add(self, buddy):
|
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())
|
icon.set_menu_strategy(MenuStrategy())
|
||||||
self.set_constraints(icon, 5, 5)
|
self.set_constraints(icon, 5, 5)
|
||||||
self.add_child(icon)
|
self.add_child(icon)
|
||||||
|
Loading…
Reference in New Issue
Block a user