From 939bc07b4bf447dbe2262eeb207ef1174227ab22 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Sun, 5 Jun 2016 15:48:01 -0400 Subject: [PATCH] bring back the beta release warning for users new to 5.x-preN --- gtk2_ardour/startup.cc | 36 ++++++++++++++++++++++++++++++++++++ gtk2_ardour/startup.h | 1 + 2 files changed, 37 insertions(+) diff --git a/gtk2_ardour/startup.cc b/gtk2_ardour/startup.cc index ed0cd885cb..335192f91b 100644 --- a/gtk2_ardour/startup.cc +++ b/gtk2_ardour/startup.cc @@ -103,6 +103,7 @@ ArdourStartup::ArdourStartup () set_default_icon_list (window_icons); } + setup_prerelease_page (); setup_new_user_page (); setup_first_time_config_page (); setup_monitoring_choice_page (); @@ -138,6 +139,41 @@ ArdourStartup::required () return true; } +void +ArdourStartup::setup_prerelease_page () +{ + VBox* vbox = manage (new VBox); + Label* label = manage (new Label); + label->set_markup (string_compose (_("Welcome to this build of %1 %2\n\n\ +There are still several issues and bugs to be worked on,\n\ +as well as general workflow improvements, before this can be considered\n\ +release software. So, a few guidelines:\n\ +\n\ +1) Please do NOT use this software with the expectation that it is stable or reliable\n\ + though it may be so, depending on your workflow.\n\ +2) Please wait for a helpful writeup of new features.\n\ +3) Please do NOT use the forums at ardour.org to report issues.\n\ +4) Please DO use the bugtracker at http://tracker.ardour.org/ to report issues\n\ + making sure to note the product version number as 3.0-beta.\n\ +5) Please DO use the ardour-users mailing list to discuss ideas and pass on comments.\n\ +6) Please DO join us on IRC for real time discussions about %1 %2. You\n\ + can get there directly from within the program via the Help->Chat menu option.\n\ +\n\ +Full information on all the above can be found on the support page at\n\ +\n\ + http://ardour.org/support\n\ +"), PROGRAM_NAME, VERSIONSTRING)); + + vbox->set_border_width (12); + vbox->pack_start (*label, false, false, 12); + vbox->show_all (); + + append_page (*vbox); + set_page_type (*vbox, ASSISTANT_PAGE_CONTENT); + set_page_title (*vbox, _("This is a BETA RELEASE")); + set_page_complete (*vbox, true); +} + void ArdourStartup::setup_new_user_page () { diff --git a/gtk2_ardour/startup.h b/gtk2_ardour/startup.h index 74e0aee6b8..e27b1c14ed 100644 --- a/gtk2_ardour/startup.h +++ b/gtk2_ardour/startup.h @@ -69,6 +69,7 @@ class ArdourStartup : public Gtk::Assistant { Glib::RefPtr icon_pixbuf; + void setup_prerelease_page (); void setup_new_user_page (); Glib::RefPtr splash_pixbuf; Gtk::DrawingArea splash_area;