diff options
author | Carl Hetherington <carl@carlh.net> | 2009-07-22 01:28:31 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2009-07-22 01:28:31 +0000 |
commit | 272cad6241ababb0e2033f27e0511596b3e32b15 (patch) | |
tree | 2f76ee12d5d0a28846b29bdcf811369c4f0d386a /gtk2_ardour/session_option_editor.cc | |
parent | 718659344277514acd05fbb8ffee30134a6cf66a (diff) |
Various fixups to bundle manager. Add a separator between the benign and more serious menu options on the port matrix context menu. Finally (maybe) fix port matrix sizing issues relatively nicely.
git-svn-id: svn://localhost/ardour2/branches/3.0@5409 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/session_option_editor.cc')
-rw-r--r-- | gtk2_ardour/session_option_editor.cc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/gtk2_ardour/session_option_editor.cc b/gtk2_ardour/session_option_editor.cc index aaa16694b6..cbcb3ecb78 100644 --- a/gtk2_ardour/session_option_editor.cc +++ b/gtk2_ardour/session_option_editor.cc @@ -14,8 +14,8 @@ using namespace ARDOUR; class OptionsPortMatrix : public PortMatrix { public: - OptionsPortMatrix (ARDOUR::Session& session) - : PortMatrix (session, DataType::AUDIO) + OptionsPortMatrix (Gtk::Window* parent, ARDOUR::Session& session) + : PortMatrix (parent, session, DataType::AUDIO) { _port_group.reset (new PortGroup ("")); _ports[OURS].add_group (_port_group); @@ -117,8 +117,8 @@ private: class ConnectionOptions : public OptionEditorBox { public: - ConnectionOptions (ARDOUR::Session* s) - : _port_matrix (*s) + ConnectionOptions (Gtk::Window* parent, ARDOUR::Session* s) + : _port_matrix (parent, *s) { _box->pack_start (_port_matrix); } @@ -330,5 +330,5 @@ SessionOptionEditor::SessionOptionEditor (Session* s) mem_fun (*_session_config, &SessionConfiguration::set_bwf_organization_code) )); - add_option (_("Connections"), new ConnectionOptions (s)); + add_option (_("Connections"), new ConnectionOptions (this, s)); } |