GNOME Bugzilla – Bug 765973
GtkRevealer need to always send "child-revealed" signal at end of animation.
Last modified: 2016-05-09 15:52:58 UTC
Depending of float rounding during target calculation, the size of the GtkRevealer can be set to zero will the animation is not finished. If the GtkRevealer is in a GtkPaned, it will be hidden and so the animation will be stopped before it is finished. In this case, force the spawn of the child-revealed signal to let client code know the animation is finished.
Created attachment 327282 [details] [review] [GtkRevealer] Spawn the child-revealed signal at end of animation.
Review of attachment 327282 [details] [review]: This looks correct to me; we should notify the property when it changes. But the commit message needs some work: child-realed is a property, not a signal. And signals get emitted, not spawned. I would suggest: Emit notify::child-revealed when the animation is stopped
Committed with a slight rewording
Yes, I didn't take time to reword the commit, sorry. Thanks for committing it.