GNOME Bugzilla – Bug 598442
Use GtkSpinner
Last modified: 2010-10-24 10:26:16 UTC
Instead of a copied around spinner widget. See https://bugzilla.gnome.org/show_bug.cgi?id=319607
Created attachment 146732 [details] [review] Port to GtkSpinner
Previous patch is just a quick try I did of this in a few minutes this morning. Some problems: - Spinner animation is not reset to "rest" state when stopped, so it looks awkward. - Need to set the size request manually when putting the spinner in a toolitem. - It looks pretty bad when packed in the tabs. I'd say the first is a bug to fix in GTK+, not sure about the second one, and the third one is probably a matter of taste.
There's no rest animation in GtkSpinner (actually, in the GtkStyle default vfunc). That's expected.
(In reply to comment #3) > There's no rest animation in GtkSpinner (actually, in the GtkStyle default > vfunc). That's expected. Sure, not saying it's not expected, just that I think it should work like that.
Pushed this to master, although now spinners are only used in tabs. Commit c255df464cf44e9687f80c5845e5f31a500f7084