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-04-09 19:57:51 +02:00
2012-01-25 19:03:13 -05:00
2012-02-28 08:14:06 -05:00
2012-01-25 19:03:13 -05:00
2012-11-12 19:07:57 +01:00
2012-10-29 11:24:36 -04:00
2011-11-07 15:24:59 -05:00
2012-11-16 19:28:23 +01:00
2012-11-12 19:07:57 +01:00
2012-02-28 08:14:06 -05:00
2010-02-22 19:37:49 -05:00
2012-09-10 21:23:25 +02:00
2012-02-28 08:14:06 -05:00