Stop secondary animation on hide.

This commit is contained in:
Marco Pesenti Gritti 2007-09-02 23:34:22 +02:00
parent 739b9160b1
commit 94e136c3c3

View File

@ -303,6 +303,8 @@ class Palette(gtk.Window):
self.emit('popup') self.emit('popup')
def _hide(self): def _hide(self):
self._secondary_anim.stop()
if not self._palette_popup_sid is None: if not self._palette_popup_sid is None:
_palette_observer.disconnect(self._palette_popup_sid) _palette_observer.disconnect(self._palette_popup_sid)
self._palette_popup_sid = None self._palette_popup_sid = None