incomplete work on mixer window treeview port
[ardour.git] / gtk2_ardour / ardour_dialog.cc
index a5604fbbdbd2593061fc377363d691bd7d4e20a3..3af944d85ccafb3c8e17375d4aab6b90464f3d3a 100644 (file)
@@ -69,29 +69,12 @@ ArdourDialog::on_unmap ()
        Dialog::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)
 {
@@ -136,6 +119,12 @@ ArdourDialog::run ()
        default:
                _run_status = -1;
        }
+
+       hide_all ();
+
+       if (kbd_input) {
+               ARDOUR_UI::instance()->allow_focus (false);
+       }
 }
 
 void