Stéphane Démurget c48a246ccb panel: programmatic anim. control of AnimatedIcon
The AnimatedIcon does not have an API for controlling the animation but
relies on the :visible property changes to start and stop a timeout used
to update the frame.

This has the inconvenient of having a side effect when visible is set to
true multiple times, and is not really the API expected from such
component. Also, there is a race if it is displayed before the images
are loaded: there is no child yet and thus we get this._frame = NaN
which leads to a crash.

Switch to a play/stop API instead, and add a load event callback to the
TextureCache.load_slice_image to exactly know when we can start using
the images.

https://bugzilla.gnome.org/show_bug.cgi?id=687583
2012-11-17 22:26:55 +01:00
..
2012-10-02 21:16:28 -03:00
2012-09-13 22:41:17 +02:00
2012-10-22 12:06:45 -04:00
2011-11-11 11:15:38 -05:00
2012-08-19 21:19:17 -04:00
2012-08-29 16:41:09 -03:00