diff options
author | Bernie Innocenti <bernie@codewiz.org> | 2009-10-13 02:36:12 (GMT) |
---|---|---|
committer | Anish Mangal <anish@activitycentral.com> | 2012-04-27 10:04:45 (GMT) |
commit | 4c1c97564fe8c7cd9973ae56d2a27975c89ffeb3 (patch) | |
tree | 3efc495d06658ff28700b18a36932ffe659b8d10 | |
parent | e57f2ae943f23d713c522bce9870d543d2b871c4 (diff) |
RFC: Kill the delayed menus for good
Hello,
Michael just passed by the Acetarium and, since the dinner was late, we
found the time to test and review his latest prototype^W patch.
I'm loving how the menus suddenly are now snappy and responsive. Please,
test it yourself and report back. If we like this change, I think we
should go on and also kill the code that this patch makes redundant.
(please, let's not add another configurable knob!)
>From 83ef08969ed7bee08f90c12bfa1eedcb7fb0500c Mon Sep 17 00:00:00 2001
From: Michael Stone <michael@laptop.org>
Date: Mon, 14 Sep 2009 22:33:12 -0400
Subject: Make various palette animations happen more quickly.
-rw-r--r-- | src/sugar/graphics/palette.py | 2 | ||||
-rw-r--r-- | src/sugar/graphics/palettewindow.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/sugar/graphics/palette.py b/src/sugar/graphics/palette.py index 46f167b..8a2098e 100644 --- a/src/sugar/graphics/palette.py +++ b/src/sugar/graphics/palette.py @@ -101,7 +101,7 @@ class Palette(PaletteWindow): self._menu_content_separator = gtk.HSeparator() - self._secondary_anim = animator.Animator(2.0, 10) + self._secondary_anim = animator.Animator(1.0, 10) self._secondary_anim.add(_SecondaryAnimation(self)) # we init after initializing all of our containers diff --git a/src/sugar/graphics/palettewindow.py b/src/sugar/graphics/palettewindow.py index 5281e54..b77cd9d 100644 --- a/src/sugar/graphics/palettewindow.py +++ b/src/sugar/graphics/palettewindow.py @@ -149,7 +149,7 @@ class PaletteWindow(gtk.Window): self._old_alloc = None self._palette_state = None - self._popup_anim = animator.Animator(.5, 10) + self._popup_anim = animator.Animator(0.0, 10) self._popup_anim.add(_PopupAnimation(self)) self._popdown_anim = animator.Animator(0.6, 10) |