Keep popups out of the frame

This commit is contained in:
Marco Pesenti Gritti
2006-09-14 21:15:48 +02:00
parent e12881e36b
commit 3ee23b3a92
2 changed files with 10 additions and 3 deletions
+1
View File
@@ -26,6 +26,7 @@ class RightPanel(CanvasBox):
def add(self, buddy):
friend = Friend(buddy.get_name(), buddy.get_color())
icon = FriendIcon(self._shell, friend)
icon.set_popup_distance(1)
self.set_constraints(icon, 3, 3)
self.add_child(icon)