fix #6588. use ardour-codename only for Ardour.
[ardour.git] / gtk2_ardour / vst_plugin_ui.cc
index 3b1f999a7ca19e36d2add11d5ab6cbc8597e4f8f..a5e3afe300bfee1f4722d66127c1e8d05d7ae5a1 100644 (file)
@@ -39,7 +39,8 @@ VSTPluginUI::VSTPluginUI (boost::shared_ptr<ARDOUR::PluginInsert> insert, boost:
        box->set_spacing (6);
        box->set_border_width (6);
        box->pack_end (focus_button, false, false);
-       box->pack_end (bypass_button, false, false, 10);
+       box->pack_end (bypass_button, false, false, 4);
+       box->pack_end (reset_button, false, false, 4);
        box->pack_end (delete_button, false, false);
        box->pack_end (save_button, false, false);
        box->pack_end (add_button, false, false);
@@ -60,7 +61,7 @@ VSTPluginUI::~VSTPluginUI ()
 }
 
 void
-VSTPluginUI::preset_selected (Plugin::PresetRecord preset)
+VSTPluginUI::preset_selected (ARDOUR::Plugin::PresetRecord preset)
 {
 #ifdef GDK_WINDOWING_X11
        _socket.grab_focus ();