Fix session-open after selecting new, template, then back
[ardour.git] / gtk2_ardour / lv2_plugin_ui.cc
index c9950fa527c4d7207b242d3d33dc6ffc01dc08f6..d7f6708d00d50d6186750100dc767933f08d974f 100644 (file)
@@ -31,7 +31,7 @@
 #include <lilv/lilv.h>
 #include <suil/suil.h>
 
-#include "i18n.h"
+#include "pbd/i18n.h"
 
 using namespace ARDOUR;
 using namespace Gtk;
@@ -105,7 +105,7 @@ LV2PluginUI::touch(void*    controller,
        if (grabbed) {
                control->start_touch(control->session().transport_frame());
        } else {
-               control->stop_touch(false, control->session().transport_frame());
+               control->stop_touch(control->session().transport_frame());
        }
 }
 
@@ -241,6 +241,7 @@ LV2PluginUI::LV2PluginUI(boost::shared_ptr<PluginInsert> pi,
        _ardour_buttons_box.pack_end (add_button, false, false);
        _ardour_buttons_box.pack_end (_preset_combo, false, false);
        _ardour_buttons_box.pack_end (_preset_modified, false, false);
+       _ardour_buttons_box.pack_end (pin_management_button, false, false);
 
        plugin->PresetLoaded.connect (*this, invalidator (*this), boost::bind (&LV2PluginUI::queue_port_update, this), gui_context ());
 }