diff options
Diffstat (limited to 'gtk2_ardour')
-rw-r--r-- | gtk2_ardour/au_pluginui.mm | 1 | ||||
-rw-r--r-- | gtk2_ardour/generic_pluginui.cc | 3 | ||||
-rw-r--r-- | gtk2_ardour/lv2_plugin_ui.cc | 1 | ||||
-rw-r--r-- | gtk2_ardour/plugin_ui.cc | 3 | ||||
-rw-r--r-- | gtk2_ardour/vst_plugin_ui.cc | 1 |
5 files changed, 6 insertions, 3 deletions
diff --git a/gtk2_ardour/au_pluginui.mm b/gtk2_ardour/au_pluginui.mm index d4003550b5..606db88140 100644 --- a/gtk2_ardour/au_pluginui.mm +++ b/gtk2_ardour/au_pluginui.mm @@ -424,6 +424,7 @@ AUPluginUI::AUPluginUI (boost::shared_ptr<PluginInsert> insert) HBox* smaller_hbox = manage (new HBox); smaller_hbox->set_spacing (6); + smaller_hbox->pack_start (latency_button, false, false, 4); 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); diff --git a/gtk2_ardour/generic_pluginui.cc b/gtk2_ardour/generic_pluginui.cc index a08fd45c43..20975f33fc 100644 --- a/gtk2_ardour/generic_pluginui.cc +++ b/gtk2_ardour/generic_pluginui.cc @@ -104,9 +104,6 @@ GenericPluginUI::GenericPluginUI (boost::shared_ptr<PluginInsert> pi, bool scrol Label* combo_label = manage (new Label (_("<span size=\"large\">Presets</span>"))); combo_label->set_use_markup (true); - latency_button.signal_clicked.connect (sigc::mem_fun (*this, &PlugUIBase::latency_button_clicked)); - set_latency_label (); - smaller_hbox->pack_start (latency_button, false, false, 4); smaller_hbox->pack_start (pin_management_button, false, false, 4); smaller_hbox->pack_start (_preset_modified, false, false); diff --git a/gtk2_ardour/lv2_plugin_ui.cc b/gtk2_ardour/lv2_plugin_ui.cc index cd965a5513..bd0198921d 100644 --- a/gtk2_ardour/lv2_plugin_ui.cc +++ b/gtk2_ardour/lv2_plugin_ui.cc @@ -314,6 +314,7 @@ LV2PluginUI::LV2PluginUI(boost::shared_ptr<PluginInsert> pi, _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); + _ardour_buttons_box.pack_start (latency_button, false, false, 4); plugin->PresetLoaded.connect (*this, invalidator (*this), boost::bind (&LV2PluginUI::queue_port_update, this), gui_context ()); } diff --git a/gtk2_ardour/plugin_ui.cc b/gtk2_ardour/plugin_ui.cc index b4a22c6f90..c28df5a08c 100644 --- a/gtk2_ardour/plugin_ui.cc +++ b/gtk2_ardour/plugin_ui.cc @@ -498,6 +498,8 @@ PlugUIBase::PlugUIBase (boost::shared_ptr<PluginInsert> pi) latency_button.set_icon (ArdourIcon::LatencyClock); latency_button.add_elements (ArdourButton::Text); + latency_button.signal_clicked.connect (sigc::mem_fun (*this, &PlugUIBase::latency_button_clicked)); + set_latency_label (); add_button.set_name ("generic button"); add_button.set_icon (ArdourIcon::PsetAdd); @@ -523,6 +525,7 @@ PlugUIBase::PlugUIBase (boost::shared_ptr<PluginInsert> pi) pin_management_button.set_icon (ArdourIcon::PluginPinout); pin_management_button.signal_clicked.connect (sigc::mem_fun (*this, &PlugUIBase::manage_pins)); + insert->ActiveChanged.connect (active_connection, invalidator (*this), boost::bind (&PlugUIBase::processor_active_changed, this, boost::weak_ptr<Processor>(insert)), gui_context()); bypass_button.set_name ("plugin bypass button"); diff --git a/gtk2_ardour/vst_plugin_ui.cc b/gtk2_ardour/vst_plugin_ui.cc index 1055183be4..465b37711c 100644 --- a/gtk2_ardour/vst_plugin_ui.cc +++ b/gtk2_ardour/vst_plugin_ui.cc @@ -54,6 +54,7 @@ VSTPluginUI::VSTPluginUI (boost::shared_ptr<ARDOUR::PluginInsert> insert, boost: box->pack_end (_preset_combo, false, false); box->pack_end (_preset_modified, false, false); box->pack_end (pin_management_button, false, false); + box->pack_end (latency_button, false, false); pack_start (*box, false, false); box->signal_size_allocate().connect (sigc::mem_fun (*this, &VSTPluginUI::top_box_allocated)); |