mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 23:05:04 +01:00
center all(?) early-startup dialogs
This commit is contained in:
parent
7238c7fdc6
commit
b3f2ed46b1
2 changed files with 4 additions and 1 deletions
|
|
@ -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 ();
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -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 ();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue