Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/rpms/sugar-toolkit/kill-the-delayed-menus-for-good.patch
blob: 43da27466976180c110fdc388cf79b837ee7214c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
From sugar-devel-bounces@lists.sugarlabs.org Tue Oct 13 02:36:45 2009
Return-Path: <sugar-devel-bounces@lists.sugarlabs.org>
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
 <sugar-devel@lists.sugarlabs.org>; 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 <bernie@codewiz.org>
To: Sugar Devel <sugar-devel@lists.sugarlabs.org>
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."
 <sugar-devel.lists.sugarlabs.org>
List-Unsubscribe: <http://lists.sugarlabs.org/listinfo/sugar-devel>,
 <mailto:sugar-devel-request@lists.sugarlabs.org?subject=unsubscribe>
List-Archive: <http://lists.sugarlabs.org/archive/sugar-devel>
List-Post: <mailto:sugar-devel@lists.sugarlabs.org>
List-Help: <mailto:sugar-devel-request@lists.sugarlabs.org?subject=help>
List-Subscribe: <http://lists.sugarlabs.org/listinfo/sugar-devel>,
 <mailto:sugar-devel-request@lists.sugarlabs.org?subject=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 <michael@laptop.org>
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(0.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.0, 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