Ooops broke default positioning strategy

This commit is contained in:
Marco Pesenti Gritti 2006-10-05 17:49:37 +02:00
parent 0533d1ffd6
commit aec5cdbdcd

View File

@ -5,7 +5,7 @@ from sugar.graphics.canvasicon import CanvasIcon
class _MenuStrategy:
def get_menu_position(self, menu, item):
return item.get_context().translate_to_widget(self)
return item.get_context().translate_to_widget(item)
class MenuIcon(CanvasIcon):
def __init__(self, menu_shell, **kwargs):