diff options
author | Carl Hetherington <carl@carlh.net> | 2009-02-09 03:17:03 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2009-02-09 03:17:03 +0000 |
commit | 91032b311ee44d7bcca65feb06aca077cc3671b5 (patch) | |
tree | cbffb722b0ac9a8735698b353ca6e076624ffc4a /gtk2_ardour/ardour_ui_dialogs.cc | |
parent | e56912152679f51e736faf9b6c123a5c0ecd0cd5 (diff) |
Remove old connection editor.
git-svn-id: svn://localhost/ardour2/branches/3.0@4500 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/ardour_ui_dialogs.cc')
-rw-r--r-- | gtk2_ardour/ardour_ui_dialogs.cc | 44 |
1 files changed, 0 insertions, 44 deletions
diff --git a/gtk2_ardour/ardour_ui_dialogs.cc b/gtk2_ardour/ardour_ui_dialogs.cc index f87ce85476..646a49dcf5 100644 --- a/gtk2_ardour/ardour_ui_dialogs.cc +++ b/gtk2_ardour/ardour_ui_dialogs.cc @@ -27,7 +27,6 @@ #include "actions.h" #include "ardour_ui.h" -#include "connection_editor.h" #include "location_ui.h" #include "mixer_ui.h" #include "option_editor.h" @@ -92,10 +91,6 @@ ARDOUR_UI::connect_to_session (Session *s) rec_button.set_sensitive (true); shuttle_box.set_sensitive (true); - if (connection_editor) { - connection_editor->set_session (s); - } - if (location_ui) { location_ui->set_session(s); } @@ -219,45 +214,6 @@ ARDOUR_UI::unload_session (bool hide_stuff) return 0; } -int -ARDOUR_UI::create_connection_editor () -{ -#if 0 - if (connection_editor == 0) { - connection_editor = new ConnectionEditor (); - connection_editor->signal_unmap().connect (sigc::bind (ptr_fun(&ActionManager::uncheck_toggleaction), X_("<Actions>/Common/ToggleConnections"))); - } - - if (session) { - connection_editor->set_session (session); - } -#endif - - return 0; -} - -void -ARDOUR_UI::toggle_connection_editor () -{ - if (create_connection_editor()) { - return; - } - -#if 0 - RefPtr<Action> act = ActionManager::get_action (X_("Common"), X_("ToggleConnections")); - if (act) { - RefPtr<ToggleAction> tact = RefPtr<ToggleAction>::cast_dynamic(act); - - if (tact->get_active()) { - connection_editor->show_all (); - connection_editor->present (); - } else { - connection_editor->hide (); - } - } -#endif -} - void ARDOUR_UI::toggle_big_clock_window () { |