]> asedeno.scripts.mit.edu Git - PuTTY.git/commit
Fix the config box treeview width in GTK3.
authorSimon Tatham <anakin@pobox.com>
Tue, 25 Aug 2015 18:44:44 +0000 (19:44 +0100)
committerSimon Tatham <anakin@pobox.com>
Tue, 25 Aug 2015 18:44:44 +0000 (19:44 +0100)
commit43a18df156a4ff7d144baed05164c565ba2a3285
treea0959e99ff502c69b4427ac5d9a03349d50bc3f0
parentafe2c355cf89216942240c58c701fde77a20a567
Fix the config box treeview width in GTK3.

My trickery in GTK2 to start with some branches of the tree collapsed
but give the widget all the width it will need when they open later
was not working in GTK3, for the same reason I've needed several other
fixes recently: just after creation, GTK3 widgets report their
preferred size as zero.

Fixed by doing basically the same trick I was doing in GTK2, but
deferring it until the "map" event happens later on.
unix/gtkdlg.c