1 | From ffbefe33162dbc65222f1df2c8456cbfd57448a1 Mon Sep 17 00:00:00 2001 |
---|
2 | From: Shanjit Singh Jajmann <shanjit@seeta.in> |
---|
3 | Date: Tue, 7 Sep 2010 23:33:44 +0530 |
---|
4 | Subject: [PATCH] Reduction in the time taken for loading of the menu (SL#1169) |
---|
5 | |
---|
6 | The earlier menu which was slow in loading up, has now been made quicker to respond to hovering above it. Changes have been made to palette.py and palettewindow.py . |
---|
7 | --- |
---|
8 | src/sugar/graphics/palettewindow.py | 7 +++---- |
---|
9 | 1 files changed, 1 insertions(+), 1 deletions(-) |
---|
10 | |
---|
11 | diff --git a/src/sugar/graphics/palettewindow.py b/src/sugar/graphics/palettewindow.py |
---|
12 | index 22131c2..9b13800 100644 |
---|
13 | --- a/src/sugar/graphics/palettewindow.py |
---|
14 | +++ b/src/sugar/graphics/palettewindow.py |
---|
15 | @@ -4,8 +4,7 @@ |
---|
16 | # |
---|
17 | # This library is free software; you can redistribute it and/or |
---|
18 | # modify it under the terms of the GNU Lesser General Public |
---|
19 | # License as published by the Free Software Foundation; either |
---|
20 | # version 2 of the License, or (at your option) any later version. |
---|
21 | |
---|
22 | # This library is distributed in the hope that it will be useful, |
---|
23 | # but WITHOUT ANY WARRANTY; without even the implied warranty of |
---|
24 | @@ -148,10 +147,10 @@ class PaletteWindow(gtk.Window): |
---|
25 | self._up = False |
---|
26 | self._old_alloc = None |
---|
27 | |
---|
28 | - self._popup_anim = animator.Animator(.5, 10) |
---|
29 | + self._popup_anim = animator.Animator(0.0, 10) |
---|
30 | self._popup_anim.add(_PopupAnimation(self)) |
---|
31 | |
---|
32 | self._popdown_anim = animator.Animator(0.6, 10) |
---|
33 | self._popdown_anim.add(_PopdownAnimation(self)) |
---|
34 | -- |
---|
35 | 1.7.2.2 |
---|
36 | |
---|