Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/sugar
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <mpg@redhat.com>2007-09-02 21:34:22 (GMT)
committer Marco Pesenti Gritti <mpg@redhat.com>2007-09-02 21:34:22 (GMT)
commit94e136c3c3f4701b493dce544f10628ae5392b83 (patch)
treef65cf27b229c0faba31e49376f9054fcba35f627 /sugar
parent739b9160b14c13eb1dfb970de80d48156723c305 (diff)
Stop secondary animation on hide.
Diffstat (limited to 'sugar')
-rw-r--r--sugar/graphics/palette.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/sugar/graphics/palette.py b/sugar/graphics/palette.py
index a8b4a3d..2b5b671 100644
--- a/sugar/graphics/palette.py
+++ b/sugar/graphics/palette.py
@@ -303,6 +303,8 @@ class Palette(gtk.Window):
self.emit('popup')
def _hide(self):
+ self._secondary_anim.stop()
+
if not self._palette_popup_sid is None:
_palette_observer.disconnect(self._palette_popup_sid)
self._palette_popup_sid = None