Move all the popup logic from IconItem to MenuIcon

This commit is contained in:
Marco Pesenti Gritti
2006-09-16 15:01:38 +02:00
parent dd6c3fd0fe
commit 8dbdda5384
3 changed files with 52 additions and 49 deletions
+1 -1
View File
@@ -19,7 +19,7 @@ class BuddyIcon(MenuIcon):
return menu
def _popup_action_cb(self, popup, action):
self._popdown()
self.popdown()
model = self._shell.get_model()
if action == BuddyPopup.ACTION_REMOVE_FRIEND: