From ccf6e2ae6ad960c5d8a2fe3813854b2baf0fe3cd Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Tue, 14 Dec 2010 13:48:21 +0000 Subject: [PATCH] make global connection window inherit from ArdourDialog git-svn-id: svn://localhost/ardour2/branches/3.0@8269 d708f5d6-7413-0410-9779-e7cbd77b26cf --- gtk2_ardour/global_port_matrix.cc | 5 +++-- gtk2_ardour/global_port_matrix.h | 3 +-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/gtk2_ardour/global_port_matrix.cc b/gtk2_ardour/global_port_matrix.cc index 3aa08bb218..318263a9cd 100644 --- a/gtk2_ardour/global_port_matrix.cc +++ b/gtk2_ardour/global_port_matrix.cc @@ -144,7 +144,8 @@ GlobalPortMatrix::get_state (BundleChannel c[2]) const } GlobalPortMatrixWindow::GlobalPortMatrixWindow (Session* s, DataType t) - : _port_matrix (this, s, t) + : ArdourDialog (X_("reset me soon")) + , _port_matrix (this, s, t) { switch (t) { case DataType::AUDIO: @@ -155,7 +156,7 @@ GlobalPortMatrixWindow::GlobalPortMatrixWindow (Session* s, DataType t) break; } - add (_port_matrix); + get_vbox()->pack_start (_port_matrix, true, true); _port_matrix.show (); } diff --git a/gtk2_ardour/global_port_matrix.h b/gtk2_ardour/global_port_matrix.h index 734c2ff609..2ecf26c33d 100644 --- a/gtk2_ardour/global_port_matrix.h +++ b/gtk2_ardour/global_port_matrix.h @@ -50,8 +50,7 @@ private: }; }; - -class GlobalPortMatrixWindow : public Gtk::Window +class GlobalPortMatrixWindow : public ArdourDialog { public: GlobalPortMatrixWindow (ARDOUR::Session *, ARDOUR::DataType);