center all(?) early-startup dialogs
authorPaul Davis <paul@linuxaudiosystems.com>
Fri, 11 Oct 2019 01:54:33 +0000 (19:54 -0600)
committerPaul Davis <paul@linuxaudiosystems.com>
Fri, 11 Oct 2019 01:54:33 +0000 (19:54 -0600)
gtk2_ardour/ardour_ui.cc
gtk2_ardour/startup_fsm.cc

index c7ebbe847e8b0dc140db2276ef1dd512aec3aafd..39f023d47943e0c62d7561f72f26e21db164a757 100644 (file)
@@ -580,7 +580,7 @@ Full information on all the above can be found on the support page at\n\
        d.get_vbox()->set_border_width (12);
        d.get_vbox()->pack_start (*label, false, false, 12);
        d.get_vbox()->show_all ();
-
+       d.set_position (WIN_POS_CENTER);
        d.run ();
 }
 
index a3aadb282db28d821e565688e49a67894e9e5521..b82850187e1e89e1b72c028c5864d2e080c4d420 100644 (file)
@@ -252,6 +252,7 @@ StartupFSM::show_new_user_wizard ()
 {
        new_user_wizard = new NewUserWizard;
        current_dialog_connection = new_user_wizard->signal_response().connect (sigc::bind (sigc::mem_fun (*this, &StartupFSM::dialog_response_handler), NewUserDialog));
+       new_user_wizard->set_position (WIN_POS_CENTER);
        new_user_wizard->present ();
 }
 
@@ -259,6 +260,7 @@ void
 StartupFSM::show_session_dialog ()
 {
        current_dialog_connection = session_dialog->signal_response().connect (sigc::bind (sigc::mem_fun (*this, &StartupFSM::dialog_response_handler), NewSessionDialog));
+       session_dialog->set_position (WIN_POS_CENTER);
        session_dialog->present ();
 }
 
@@ -266,6 +268,7 @@ void
 StartupFSM::show_audiomidi_dialog ()
 {
        current_dialog_connection = audiomidi_dialog.signal_response().connect (sigc::bind (sigc::mem_fun (*this, &StartupFSM::dialog_response_handler), AudioMIDISetup));
+       audiomidi_dialog.set_position (WIN_POS_CENTER);
        audiomidi_dialog.present ();
 }