diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2010-12-14 13:48:21 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2010-12-14 13:48:21 +0000 |
commit | ccf6e2ae6ad960c5d8a2fe3813854b2baf0fe3cd (patch) | |
tree | b1304af14a28fd9740d6bca2fb97ead3c267ae45 /gtk2_ardour | |
parent | a571b28dd4507aea892c04c9675ebe67359c8b39 (diff) |
make global connection window inherit from ArdourDialog
git-svn-id: svn://localhost/ardour2/branches/3.0@8269 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour')
-rw-r--r-- | gtk2_ardour/global_port_matrix.cc | 5 | ||||
-rw-r--r-- | 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); |