13
0

make per-track port matrix dialog into a real dialog, complete with ctrl-w handling

git-svn-id: svn://localhost/ardour2/branches/3.0@9040 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Paul Davis 2011-03-02 18:36:28 +00:00
parent 1ea01b7257
commit b800dc207d
2 changed files with 6 additions and 5 deletions

View File

@ -213,12 +213,12 @@ IOSelector::channel_noun () const
}
IOSelectorWindow::IOSelectorWindow (ARDOUR::Session* session, boost::shared_ptr<ARDOUR::IO> io, bool /*can_cancel*/)
: _selector (this, session, io)
: ArdourDialog (_("I/O selector"))
, _selector (this, session, io)
{
set_name ("IOSelectorWindow2");
set_title (_("I/O selector"));
add (_selector);
get_vbox()->pack_start (_selector);
set_position (Gtk::WIN_POS_MOUSE);

View File

@ -21,6 +21,7 @@
#define __gtkardour_io_selector_h__
#include "port_matrix.h"
#include "ardour_dialog.h"
class IOSelector : public PortMatrix
{
@ -66,7 +67,7 @@ class IOSelector : public PortMatrix
PBD::ScopedConnection _io_connection;
};
class IOSelectorWindow : public Gtk::Window
class IOSelectorWindow : public ArdourDialog
{
public:
IOSelectorWindow (ARDOUR::Session *, boost::shared_ptr<ARDOUR::IO>, bool can_cancel = false);