13
0

make global connection window inherit from ArdourDialog

git-svn-id: svn://localhost/ardour2/branches/3.0@8269 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Paul Davis 2010-12-14 13:48:21 +00:00
parent a571b28dd4
commit ccf6e2ae6a
2 changed files with 4 additions and 4 deletions

View File

@ -144,7 +144,8 @@ GlobalPortMatrix::get_state (BundleChannel c[2]) const
} }
GlobalPortMatrixWindow::GlobalPortMatrixWindow (Session* s, DataType t) GlobalPortMatrixWindow::GlobalPortMatrixWindow (Session* s, DataType t)
: _port_matrix (this, s, t) : ArdourDialog (X_("reset me soon"))
, _port_matrix (this, s, t)
{ {
switch (t) { switch (t) {
case DataType::AUDIO: case DataType::AUDIO:
@ -155,7 +156,7 @@ GlobalPortMatrixWindow::GlobalPortMatrixWindow (Session* s, DataType t)
break; break;
} }
add (_port_matrix); get_vbox()->pack_start (_port_matrix, true, true);
_port_matrix.show (); _port_matrix.show ();
} }

View File

@ -50,8 +50,7 @@ private:
}; };
}; };
class GlobalPortMatrixWindow : public ArdourDialog
class GlobalPortMatrixWindow : public Gtk::Window
{ {
public: public:
GlobalPortMatrixWindow (ARDOUR::Session *, ARDOUR::DataType); GlobalPortMatrixWindow (ARDOUR::Session *, ARDOUR::DataType);