summaryrefslogtreecommitdiff
path: root/gtk2_ardour
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2019-12-18 15:04:41 +0100
committerRobin Gareus <robin@gareus.org>2019-12-18 15:04:41 +0100
commit0aa3c587052ca297ee4519cebee352684fe0c6ba (patch)
tree97c4376da92bec2c3fd0ef790aa04eed80f1d523 /gtk2_ardour
parenta9f64848168693e3af6c8378c27d3cfa85a34b4c (diff)
Remove VST plugin discovery option from first-start wizard
Because (a) it makes the startup seem "very long and complicated", and (b) sometimes fails or crashes weirdly, or (c) a plugin dialog gets hidden behind the main window, or ... Overall the first impression of the program may be horrible when the first step includes discovering VST plugins.
Diffstat (limited to 'gtk2_ardour')
-rw-r--r--gtk2_ardour/new_user_wizard.cc17
-rw-r--r--gtk2_ardour/new_user_wizard.h2
2 files changed, 0 insertions, 19 deletions
diff --git a/gtk2_ardour/new_user_wizard.cc b/gtk2_ardour/new_user_wizard.cc
index f33a0f5a55..b7e442f058 100644
--- a/gtk2_ardour/new_user_wizard.cc
+++ b/gtk2_ardour/new_user_wizard.cc
@@ -60,7 +60,6 @@
#include "opts.h"
#include "ui_config.h"
#include "pbd/i18n.h"
-#include "plugin_scan_dialog.h"
#include "utils.h"
using namespace std;
@@ -419,20 +418,12 @@ NewUserWizard::setup_final_page ()
{
string msg = string_compose (_("%1 is ready for use"), PROGRAM_NAME);
- plugin_disco_button.signal_clicked().connect (sigc::mem_fun(*this, &NewUserWizard::discover_plugins));
- plugin_disco_button.set_label (_("Scan for Plugins"));
- plugin_disco_button.show ();
-
Gtk::Label* final_label = manage (new Label);
final_label->set_markup (string_compose ("<span weight=\"bold\" size=\"large\">%1</span>", msg));
final_label->show ();
VBox* vbox = manage (new VBox);
vbox->pack_start (*final_label, true, true);
- /* Mixbus sets this parameter to true by default, Ardour sets it to false */
- if (!Config->get_discover_vst_on_start()) {
- vbox->pack_start (plugin_disco_button, true, false);
- }
vbox->show ();
final_page_index = append_page (*vbox);
@@ -442,14 +433,6 @@ NewUserWizard::setup_final_page ()
}
void
-NewUserWizard::discover_plugins ()
-{
- plugin_disco_button.set_sensitive (false);
- PluginScanDialog psd (false, true);
- psd.start ();
-}
-
-void
NewUserWizard::on_cancel ()
{
_signal_response (int (RESPONSE_CANCEL));
diff --git a/gtk2_ardour/new_user_wizard.h b/gtk2_ardour/new_user_wizard.h
index 95e9e55239..2b7c0b67e3 100644
--- a/gtk2_ardour/new_user_wizard.h
+++ b/gtk2_ardour/new_user_wizard.h
@@ -57,7 +57,6 @@ private:
void on_apply ();
void on_cancel ();
bool on_delete_event (GdkEventAny*);
- void discover_plugins ();
Glib::RefPtr<Gdk::Pixbuf> icon_pixbuf;
@@ -98,7 +97,6 @@ private:
/* final page */
void setup_final_page ();
- Gtk::Button plugin_disco_button;
/* always there */