Stop secondary animation on hide.
This commit is contained in:
parent
739b9160b1
commit
94e136c3c3
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user