GNOME Bugzilla – Bug 743441
Some GtkListBoxRows have leftover headers
Last modified: 2015-01-28 11:23:54 UTC
Created attachment 295331 [details] Problem as seen in the sharing panel (with scale=4) I've been wondering for a while what's causing this. It seems to be caused by nothing ever removing headers from listboxrows. When the first row gets removed (or hidden), the second one takes its place and now has a header even though it shouldn't.
Created attachment 295332 [details] [review] list-box-helper: Unset row header if unneeded The usual implementation of the header func adds headers to all rows but the first one. If the first row then gets removed, the second row becomes the first and keeps its header, since nothing ever removes it. Fix this by also removing the header if we are looking at the first row.
Review of attachment 295332 [details] [review]: Looks fine to me.
Attachment 295332 [details] pushed as fe77d80 - list-box-helper: Unset row header if unneeded