add missing "Path" to label, re-order VST preferences
authorRobin Gareus <robin@gareus.org>
Sun, 20 Apr 2014 00:50:24 +0000 (02:50 +0200)
committerRobin Gareus <robin@gareus.org>
Sun, 20 Apr 2014 00:51:27 +0000 (02:51 +0200)
gtk2_ardour/rc_option_editor.cc

index 7d6be32e2212e3aa407e2e1c799509242bdcb73a..3c97bb17e6798b349e96d3f5c9a82cd017f32b8b 100644 (file)
@@ -1060,17 +1060,17 @@ public:
                Gtkmm2ext::UI::instance()->set_tip (_discover_vst_on_start,
                                            _("<b>When enabled</b> new VST plugins are searched, tested and added to the cache index on application start. When disabled new plugins will only be available after triggering a 'Scan' manually"));
 
-#ifdef WINDOWS_VST_SUPPORT
-               t->attach (*manage (left_aligned_label (_("Windows VST Path:"))), 0, 1, n, n+1);
+#ifdef LXVST_SUPPORT
+               t->attach (*manage (left_aligned_label (_("Linux VST Path:"))), 0, 1, n, n+1);
                b = manage (new Button (_("Edit")));
-               b->signal_clicked().connect (sigc::mem_fun (*this, &PluginOptions::edit_vst_path_clicked));
+               b->signal_clicked().connect (sigc::mem_fun (*this, &PluginOptions::edit_lxvst_path_clicked));
                t->attach (*b, 1, 2, n, n+1, FILL); ++n;
 #endif
 
-#ifdef LXVST_SUPPORT
-               t->attach (*manage (left_aligned_label (_("Linux VST:"))), 0, 1, n, n+1);
+#ifdef WINDOWS_VST_SUPPORT
+               t->attach (*manage (left_aligned_label (_("Windows VST Path:"))), 0, 1, n, n+1);
                b = manage (new Button (_("Edit")));
-               b->signal_clicked().connect (sigc::mem_fun (*this, &PluginOptions::edit_lxvst_path_clicked));
+               b->signal_clicked().connect (sigc::mem_fun (*this, &PluginOptions::edit_vst_path_clicked));
                t->attach (*b, 1, 2, n, n+1, FILL); ++n;
 #endif