diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2005-11-27 21:17:41 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2005-11-27 21:17:41 +0000 |
commit | 1f16781c75205b43ac193596d1449de343693a6f (patch) | |
tree | 68f8f9ddd2b7dbe57b0ac2e2caa6fe6e8b9ba96c /gtk2_ardour/ardour_ui_dialogs.cc | |
parent | aaa44a37aaf585b9bcd9268a9551a005e6269bdb (diff) |
slowly fixing up ArdourDialog nonsense
git-svn-id: svn://localhost/trunk/ardour2@132 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/ardour_ui_dialogs.cc')
-rw-r--r-- | gtk2_ardour/ardour_ui_dialogs.cc | 19 |
1 files changed, 2 insertions, 17 deletions
diff --git a/gtk2_ardour/ardour_ui_dialogs.cc b/gtk2_ardour/ardour_ui_dialogs.cc index c524e15526..93efa57110 100644 --- a/gtk2_ardour/ardour_ui_dialogs.cc +++ b/gtk2_ardour/ardour_ui_dialogs.cc @@ -248,13 +248,8 @@ ARDOUR_UI::toggle_connection_editor () //GTK2FIX #if 0 - if (connection_editor->within_hiding()) { - return; - } - - if (connection_editor_check->get_active()){ - connection_editor->show_all(); + connection_editor->present(); } else { connection_editor->hide_all(); } @@ -291,9 +286,7 @@ ARDOUR_UI::toggle_options_window () option_editor = new OptionEditor (*this, *editor, *mixer); option_editor->signal_unmap().connect(mem_fun(*this, &ARDOUR_UI::option_hiding)); option_editor->set_session (session); - } else if (option_editor->within_hiding()) { - return; - } + } if (option_editor->is_visible()) { option_editor->hide (); @@ -335,10 +328,6 @@ ARDOUR_UI::toggle_location_window () return; } - if (location_ui->within_hiding()) { - return; - } - if (location_ui->is_visible()) { location_ui->hide(); } else { @@ -370,10 +359,6 @@ ARDOUR_UI::toggle_route_params_window () return; } - if (route_params->within_hiding()) { - return; - } - if (route_params->is_visible ()) { route_params->hide (); } else { |