fix display of preferences window when detached.
authorPaul Davis <paul@linuxaudiosystems.com>
Sat, 27 Aug 2016 10:02:28 +0000 (06:02 -0400)
committerPaul Davis <paul@linuxaudiosystems.com>
Sat, 27 Aug 2016 10:02:52 +0000 (06:02 -0400)
commit3c4025d000dc3b883e0bb24725adb79ef5c79455
tree661a0008dc1dcdc5e759b3059fb991a71857fa3f
parent0189edcfb99b31f0f7bfa70e366e65343f11eda4
fix display of preferences window when detached.

GTK+ apparently unpacks/hides a widget whose requistion at window show/packing time is negative for x or y axes. The RC option editor
was being created AFTER its Tabbable self packed it into its own window (when detached), and GTK+ rejected it because the
treeview had a size requisition with -1 for width.

So build it first, then call Tabbable::set_state() later
gtk2_ardour/rc_option_editor.cc