diff options
author | Carl Hetherington <carl@carlh.net> | 2012-03-05 01:42:10 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2012-03-05 01:42:10 +0000 |
commit | 1eaf450e0349daa2c5c44195a27f0253b9d1f19b (patch) | |
tree | 0d5456531f628da0f206a490d4bac605c13a6598 | |
parent | 5e32265e278c315bf7d25b51048d053991f1b276 (diff) |
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
-rw-r--r-- | gtk2_ardour/startup.cc | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/gtk2_ardour/startup.cc b/gtk2_ardour/startup.cc index bface9a8fa..829f84fea7 100644 --- a/gtk2_ardour/startup.cc +++ b/gtk2_ardour/startup.cc @@ -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); |