Fix programmatical popdown

master
Marco Pesenti Gritti 18 years ago
parent 18cbe0a68d
commit 7a06102b2e

@ -69,6 +69,9 @@ class MenuIcon(CanvasIcon):
self._menu = None
self._menu_shell.set_active(None)
def popdown(self):
self._timeline.play('popdown', 'popdown')
def _motion_notify_event_cb(self, item, event):
if event.detail == hippo.MOTION_DETAIL_ENTER:
self._timeline.play(None, 'popup')

@ -22,8 +22,6 @@ import gobject
from sugar.presence import PresenceService
os.environ['SUGAR_PROFILE'] = 'simulator'
PresenceService.start()
base_path = os.path.abspath(os.path.dirname(__file__))

Loading…
Cancel
Save