add missing "Path" to label, re-order VST preferences

This commit is contained in:
Robin Gareus 2014-04-20 02:50:24 +02:00
parent c123829c0a
commit 0524f1ec14

View file

@ -1060,6 +1060,13 @@ 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 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_lxvst_path_clicked));
t->attach (*b, 1, 2, n, n+1, FILL); ++n;
#endif
#ifdef WINDOWS_VST_SUPPORT
t->attach (*manage (left_aligned_label (_("Windows VST Path:"))), 0, 1, n, n+1);
b = manage (new Button (_("Edit")));
@ -1067,13 +1074,6 @@ public:
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);
b = manage (new Button (_("Edit")));
b->signal_clicked().connect (sigc::mem_fun (*this, &PluginOptions::edit_lxvst_path_clicked));
t->attach (*b, 1, 2, n, n+1, FILL); ++n;
#endif
_box->pack_start (*t,true,true);
}