13
0

Move some stuff so that a call to set_page_complete will work (for the case where we specify --new on the command line) (#4752).

git-svn-id: svn://localhost/ardour2/branches/3.0@11595 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Carl Hetherington 2012-03-05 01:42:10 +00:00
parent 5e32265e27
commit 1eaf450e03

View File

@ -742,6 +742,12 @@ ArdourStartup::setup_new_session_page ()
}
session_new_vbox.set_spacing (18);
new_session_hbox.pack_start (session_new_vbox, true, true);
new_session_vbox.pack_start (new_session_hbox, true, true);
new_session_page_index = append_page (new_session_vbox);
/* initial setting */
set_page_type (new_session_vbox, ASSISTANT_PAGE_CONFIRM);
set_page_title (new_session_vbox, _("New Session"));
if (session_new_vbox.get_children().empty()) {
VBox *vbox1 = manage (new VBox);
@ -883,15 +889,9 @@ ArdourStartup::setup_new_session_page ()
}
session_new_vbox.show_all ();
new_session_hbox.pack_start (session_new_vbox, true, true);
new_session_vbox.set_border_width (24);
new_session_vbox.pack_start (new_session_hbox, true, true);
new_session_vbox.show_all ();
new_session_page_index = append_page (new_session_vbox);
/* initial setting */
set_page_type (new_session_vbox, ASSISTANT_PAGE_CONFIRM);
set_page_title (new_session_vbox, _("New Session"));
if (more_new_session_options_button.get_active()) {
set_page_type (new_session_vbox, ASSISTANT_PAGE_CONTENT);