GNOME Bugzilla – Bug 729636
Only show title button separator when there is something to separate them from
Last modified: 2014-08-29 15:02:44 UTC
Created attachment 275963 [details] [review] Only show title button separator when there is something to separate them from patch
I don't particularly like this - updating the separator visibility from size allocate seems wrong. There's also no guarantee that a visible child means 'something to separate from' - it could just be an empty box. If we want to do something like this, I'd rather have the headerbar keep track of whether it has any pack-start/pack-end children, instead of looping over them all the time. Finally, if separator visibility is internally controlled, they need to have no-show-all set on them, else an innocent gtk_widget_show_all might make them appear unintentionally.
Review of attachment 275963 [details] [review]: .
*** Bug 733910 has been marked as a duplicate of this bug. ***
this has been done noe