From 05283a63398fd7a563480a76802e6b2c2ad2e404 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 19 Nov 2011 00:56:35 +0000 Subject: Only use ArdourDialog (and thus Gtk::Dialog) for actual dialogs. Fixes #4364. I havn't fully tested every single dialog and window (heck, I don't even know how to get at half of them), and there may be some packing niggles, but this is the bulk of the work. The Gnome 3 kiddies can close their dialogs now, anyway :) git-svn-id: svn://localhost/ardour2/branches/3.0@10699 d708f5d6-7413-0410-9779-e7cbd77b26cf --- gtk2_ardour/global_port_matrix.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'gtk2_ardour/global_port_matrix.cc') diff --git a/gtk2_ardour/global_port_matrix.cc b/gtk2_ardour/global_port_matrix.cc index 5e5218bda8..f4803f156b 100644 --- a/gtk2_ardour/global_port_matrix.cc +++ b/gtk2_ardour/global_port_matrix.cc @@ -148,8 +148,8 @@ GlobalPortMatrix::get_state (BundleChannel c[2]) const } GlobalPortMatrixWindow::GlobalPortMatrixWindow (Session* s, DataType t) - : ArdourDialog (X_("reset me soon")) - , _port_matrix (this, s, t) + : ArdourWindow (X_("reset me soon")) + , _port_matrix (this, s, t) { switch (t) { case DataType::AUDIO: @@ -160,7 +160,7 @@ GlobalPortMatrixWindow::GlobalPortMatrixWindow (Session* s, DataType t) break; } - get_vbox()->pack_start (_port_matrix, true, true); + add (_port_matrix); _port_matrix.show (); } -- cgit v1.2.3