diff options
author | Marco Pesenti Gritti <marco@localhost.localdomain> | 2007-06-28 09:54:12 (GMT) |
---|---|---|
committer | Marco Pesenti Gritti <marco@localhost.localdomain> | 2007-06-28 09:54:12 (GMT) |
commit | faed9162abd2a7645944736dc37f82105f09c7bb (patch) | |
tree | c6590f8a52b43fded223e998011e7671b1a27987 /sugar | |
parent | 2ccf9c0b16e7187f36b896fb62d1782666f1f091 (diff) |
Ooops do not start the popup animation on constructor.
Diffstat (limited to 'sugar')
-rw-r--r-- | sugar/graphics/palette.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sugar/graphics/palette.py b/sugar/graphics/palette.py index 900b171..5b425d5 100644 --- a/sugar/graphics/palette.py +++ b/sugar/graphics/palette.py @@ -51,11 +51,9 @@ class Palette(gobject.GObject): self._popup_anim = animator.Animator(0.3, 10) self._popup_anim.add(_PopupAnimation(self)) - self._popup_anim.start() self._popdown_anim = animator.Animator(0.6, 10) self._popdown_anim.add(_PopdownAnimation(self)) - self._popdown_anim.start() self._menu = _sugarext.Menu() @@ -197,12 +195,14 @@ class Palette(gobject.GObject): self._popdown_anim.start() def invoker_mouse_enter(self): + print 'Invoker enter' self.popup() def invoker_mouse_leave(self): self.popdown() def _enter_notify_event_cb(self, widget, event): + print 'Enter notify' if event.detail == gtk.gdk.NOTIFY_NONLINEAR: self._popdown_anim.stop() |