From sugar-devel-bounces@lists.sugarlabs.org Tue Oct 13 02:36:45 2009 Return-Path: Delivered-To: bernie@codewiz.org Received: (qmail 5091 invoked from network); 13 Oct 2009 02:36:45 -0000 Received: by simscan 1.4.0 ppid: 5072, pid: 5073, t: 2.5265s scanners: clamav: 0.93.3/m:48/d:8412 spam: 3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on trinity.develer.com X-Spam-Level: X-Spam-Status: No, score=-6.6 required=3.0 tests=BAYES_00,RCVD_IN_DNSWL_MED autolearn=ham version=3.2.5 Received: from solarsail.media.mit.edu (18.85.2.155) by trinity.develer.com with ESMTP; 13 Oct 2009 02:36:43 -0000 Received: from solarsail.media.mit.edu (localhost [127.0.0.1]) by solarsail.media.mit.edu (Postfix) with ESMTP id 77346805B; Mon, 12 Oct 2009 22:36:41 -0400 (EDT) Received: from trinity.develer.com (trinity.develer.com [83.149.158.210]) by solarsail.media.mit.edu (Postfix) with ESMTP id 72B6F8042 for ; Mon, 12 Oct 2009 22:36:18 -0400 (EDT) Received: (qmail 4993 invoked from network); 13 Oct 2009 02:36:16 -0000 Received: from 75-147-59-54-newengland.hfc.comcastbusiness.net (HELO ?172.16.1.6?) (bernie@75.147.59.54) by trinity.develer.com with ESMTPA; 13 Oct 2009 02:36:16 -0000 From: Bernie Innocenti To: Sugar Devel Organization: Sugar Labs - http://www.sugarlabs.org/ Date: Mon, 12 Oct 2009 22:36:12 -0400 Message-Id: <1255401372.1477.549.camel@giskard> Mime-Version: 1.0 X-Mailer: Evolution 2.28.0 (2.28.0-2.fc12) Subject: [Sugar-devel] RFC: Kill the delayed menus for good X-BeenThere: sugar-devel@lists.sugarlabs.org X-Mailman-Version: 2.1.9 Precedence: list List-Id: "Discussion of Sugar development and other technical matters." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Sender: sugar-devel-bounces@lists.sugarlabs.org Errors-To: sugar-devel-bounces@lists.sugarlabs.org X-Evolution-Source: imap://bernie@imap.develer.com/ Content-Transfer-Encoding: 8bit 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 Date: Mon, 14 Sep 2009 22:33:12 -0400 Subject: Make various palette animations happen more quickly. --- src/sugar/graphics/palette.py | 2 +- src/sugar/graphics/palettewindow.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/sugar/graphics/palette.py b/src/sugar/graphics/palette.py index bb2b605..466edef 100644 --- a/src/sugar/graphics/palette.py +++ b/src/sugar/graphics/palette.py @@ -103,7 +103,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 3049f55..4bc07e2 100644 --- a/src/sugar/graphics/palettewindow.py +++ b/src/sugar/graphics/palettewindow.py @@ -148,10 +148,10 @@ class PaletteWindow(gtk.Window): self._up = False self._old_alloc = 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) + self._popdown_anim = animator.Animator(0.6, 10) self._popdown_anim.add(_PopdownAnimation(self)) gobject.GObject.__init__(self, **kwargs) -- 1.5.6.5 -- // Bernie Innocenti - http://codewiz.org/ \X/ Sugar Labs - http://sugarlabs.org/ _______________________________________________ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel