Tab to prev/next name-entry: skip only rec-armed tracks
[ardour.git] / gtk2_ardour / au_pluginui.mm
index d601b84436c9512f124700946c349de4d331a23d..1a80837acfa2e117703fe69051df2d182a4beb3a 100644 (file)
@@ -3,6 +3,7 @@
 
 #include <sys/time.h>
 #include <gtkmm/button.h>
+#include <gtkmm/comboboxtext.h>
 #include <gdk/gdkquartz.h>
 
 #include "pbd/convert.h"
@@ -403,22 +404,22 @@ AUPluginUI::AUPluginUI (boost::shared_ptr<PluginInsert> insert)
        HBox* smaller_hbox = manage (new HBox);
 
        smaller_hbox->set_spacing (6);
+       smaller_hbox->pack_start (pin_management_button, false, false, 4);
        smaller_hbox->pack_start (preset_label, false, false, 4);
        smaller_hbox->pack_start (_preset_modified, false, false);
        smaller_hbox->pack_start (_preset_combo, false, false);
        smaller_hbox->pack_start (add_button, false, false);
-#if 0
-       /* Ardour does not currently allow to overwrite existing presets
-        * see save_property_list() in audio_unit.cc
-        */
        smaller_hbox->pack_start (save_button, false, false);
-#endif
+       smaller_hbox->pack_start (delete_button, false, false);
+
 #if 0
        /* one day these might be useful with an AU plugin, but not yet */
        smaller_hbox->pack_start (automation_mode_label, false, false);
        smaller_hbox->pack_start (automation_mode_selector, false, false);
 #endif
-       smaller_hbox->pack_start (reset_button, false, false);
+       if (insert->controls().size() > 0) {
+               smaller_hbox->pack_start (reset_button, false, false);
+       }
        smaller_hbox->pack_start (bypass_button, false, true);
 
        VBox* v1_box = manage (new VBox);