summaryrefslogtreecommitdiff
path: root/gtk2_ardour/ardour_dialog.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gtk2_ardour/ardour_dialog.cc')
-rw-r--r--gtk2_ardour/ardour_dialog.cc23
1 files changed, 6 insertions, 17 deletions
diff --git a/gtk2_ardour/ardour_dialog.cc b/gtk2_ardour/ardour_dialog.cc
index a5604fbbdb..3af944d85c 100644
--- a/gtk2_ardour/ardour_dialog.cc
+++ b/gtk2_ardour/ardour_dialog.cc
@@ -70,29 +70,12 @@ ArdourDialog::on_unmap ()
}
void
-ArdourDialog::wm_close()
-{
- stop (-1);
- ARDOUR_UI::instance()->allow_focus(false);
-}
-
-void
ArdourDialog::set_hide_on_stop (bool yn)
{
hide_on_stop = yn;
}
void
-ArdourDialog::close ()
-{
- hide_all ();
-
- if (kbd_input) {
- ARDOUR_UI::instance()->allow_focus (false);
- }
-}
-
-void
ArdourDialog::stop (int rr)
{
if (hide_on_stop) {
@@ -136,6 +119,12 @@ ArdourDialog::run ()
default:
_run_status = -1;
}
+
+ hide_all ();
+
+ if (kbd_input) {
+ ARDOUR_UI::instance()->allow_focus (false);
+ }
}
void