diff options
author | David Robillard <d@drobilla.net> | 2011-11-18 21:56:01 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2011-11-18 21:56:01 +0000 |
commit | 5770f26bc9aea867d8fcd62c38ccef70291034aa (patch) | |
tree | 6b06f8711b1fd28b7e8c1059cb62ca13cf0eea1a /gtk2_ardour/io_selector.cc | |
parent | cd4e803f60ef122b8b643478d43a7f1a9c46ae43 (diff) |
Add ArdourWindow class for non-dialog windows.
Make IOSelector an ArdourWindow.
It's debatable whether this one should actually be a window, cancel buttons
might actually be useful on the IO selector.
git-svn-id: svn://localhost/ardour2/branches/3.0@10691 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/io_selector.cc')
-rw-r--r-- | gtk2_ardour/io_selector.cc | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/gtk2_ardour/io_selector.cc b/gtk2_ardour/io_selector.cc index f77123a684..d7b65dc58b 100644 --- a/gtk2_ardour/io_selector.cc +++ b/gtk2_ardour/io_selector.cc @@ -17,7 +17,6 @@ */ -#include <gtkmm/messagedialog.h> #include <glibmm/objectbase.h> #include <gtkmm2ext/doi.h> @@ -221,12 +220,12 @@ IOSelector::channel_noun () const } IOSelectorWindow::IOSelectorWindow (ARDOUR::Session* session, boost::shared_ptr<ARDOUR::IO> io, bool /*can_cancel*/) - : ArdourDialog (_("I/O selector")) - , _selector (this, session, io) + : ArdourWindow (_("I/O selector")) + , _selector (this, session, io) { set_name ("IOSelectorWindow2"); - get_vbox()->pack_start (_selector); + add (_selector); set_position (Gtk::WIN_POS_MOUSE); |