diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2019-10-11 14:29:55 -0600 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2019-10-11 14:29:55 -0600 |
commit | 54acf6af6a4b571863e1c69be4defad6b222bc32 (patch) | |
tree | 22249488f032afe53c6768e8d1dabfa8c16b2c32 /gtk2_ardour/startup_fsm.cc | |
parent | da2d6312c43213241e0a60656d631a89255d2951 (diff) |
enforce singleton nature of Splash a little more rigorously, and slightly rationalize it's use
Diffstat (limited to 'gtk2_ardour/startup_fsm.cc')
-rw-r--r-- | gtk2_ardour/startup_fsm.cc | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/gtk2_ardour/startup_fsm.cc b/gtk2_ardour/startup_fsm.cc index 390f0672bb..f359865b3a 100644 --- a/gtk2_ardour/startup_fsm.cc +++ b/gtk2_ardour/startup_fsm.cc @@ -42,6 +42,7 @@ #include "gtkmm2ext/application.h" #include <gtkmm2ext/doi.h> +#include "ardour_ui.h" #include "engine_dialog.h" #include "new_user_wizard.h" #include "opts.h" @@ -569,7 +570,7 @@ StartupFSM::check_session_parameters (bool must_be_new) /* does not exist at present */ if (!requested_new) { - // pop_back_splash (session_dialog); + ARDOUR_UI::pop_back_splash (*session_dialog); MessageDialog msg (string_compose (_("There is no existing session at \"%1\""), session_path)); msg.run (); session_dialog->clear_name(); @@ -714,7 +715,7 @@ StartupFSM::ask_about_loading_existing_session (const std::string& session_path) msg.set_title (_("Open Existing Session")); msg.set_wmclass (X_("existing_session"), PROGRAM_NAME); msg.set_position (Gtk::WIN_POS_CENTER); - // pop_back_splash (msg); + ARDOUR_UI::pop_back_splash (msg); switch (msg.run()) { case RESPONSE_YES: @@ -761,3 +762,4 @@ Full information on all the above can be found on the support page at\n\ pre_release_dialog->set_position (WIN_POS_CENTER); pre_release_dialog->present (); } + |