summaryrefslogtreecommitdiff
path: root/gtk2_ardour/ardour_ui_startup.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2019-09-29 10:00:23 -0600
committerPaul Davis <paul@linuxaudiosystems.com>2019-10-02 18:04:40 -0600
commitf470d3e856e7dee3c6003aeff0c98005822c5f90 (patch)
tree20b9f2d212195a2a7f04442e4365d6715e05e385 /gtk2_ardour/ardour_ui_startup.cc
parentbc3b65834991b126843e85618c2f5d1d3c7e9389 (diff)
remove all use of NO_PLUGIN_STATE #ifdef
We determined several years that we should never ever do this, and changed the basis for the free/demo copy because of that.
Diffstat (limited to 'gtk2_ardour/ardour_ui_startup.cc')
-rw-r--r--gtk2_ardour/ardour_ui_startup.cc44
1 files changed, 0 insertions, 44 deletions
diff --git a/gtk2_ardour/ardour_ui_startup.cc b/gtk2_ardour/ardour_ui_startup.cc
index e9875e9338..8e97cd5a98 100644
--- a/gtk2_ardour/ardour_ui_startup.cc
+++ b/gtk2_ardour/ardour_ui_startup.cc
@@ -551,50 +551,6 @@ ARDOUR_UI::starting ()
}
}
-#ifdef NO_PLUGIN_STATE
-
- ARDOUR::RecentSessions rs;
- ARDOUR::read_recent_sessions (rs);
-
- string path = Glib::build_filename (user_config_directory(), ".iknowaboutfreeversion");
-
- if (!Glib::file_test (path, Glib::FILE_TEST_EXISTS) && !rs.empty()) {
-
- /* already used Ardour, have sessions ... warn about plugin state */
-
- ArdourDialog d (_("Free/Demo Version Warning"), true);
- Label l;
- Button b (string_compose (_("Subscribe and support development of %1"), PROGRAM_NAME));
- CheckButton c (_("Don't warn me about this again"));
-
- l.set_markup (string_compose (_("<span weight=\"bold\" size=\"large\">%1</span>\n\n<b>%2</b>\n\n<i>%3</i>\n\n%4"),
- string_compose (_("This is a free/demo version of %1"), PROGRAM_NAME),
- _("It will not restore OR save any plugin settings"),
- _("If you load an existing session with plugin settings\n"
- "they will not be used and will be lost."),
- _("To get full access to updates without this limitation\n"
- "consider becoming a subscriber for a low cost every month.")));
- l.set_justify (JUSTIFY_CENTER);
-
- b.signal_clicked().connect (mem_fun(*this, &ARDOUR_UI::launch_subscribe));
-
- d.get_vbox()->pack_start (l, true, true);
- d.get_vbox()->pack_start (b, false, false, 12);
- d.get_vbox()->pack_start (c, false, false, 12);
-
- d.add_button (_("Quit now"), RESPONSE_CANCEL);
- d.add_button (string_compose (_("Continue using %1"), PROGRAM_NAME), RESPONSE_OK);
-
- d.show_all ();
-
- c.signal_toggled().connect (sigc::hide_return (sigc::bind (sigc::ptr_fun (toggle_file_existence), path)));
-
- if (d.run () != RESPONSE_OK) {
- _exit (EXIT_SUCCESS);
- }
- }
-#endif
-
/* go get a session */
const bool new_session_required = (ARDOUR_COMMAND_LINE::new_session || (!ARDOUR::Profile->get_mixbus() && brand_new_user));