diff options
author | Robin Gareus <robin@gareus.org> | 2015-07-16 20:01:44 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2015-07-16 20:01:44 +0200 |
commit | 762ed5cd18006a8e41d78cdc8442bf8918e9f869 (patch) | |
tree | 68bc2782ccd9989ae3e4fcf7ac0ce32a3809bb05 /gtk2_ardour/plugin_selector.cc | |
parent | 1ed63c52472a0f32406b009a04c8db2dc59f76d2 (diff) |
remove “Refresh” button in Plugin manager
use Preferences > Plugins
Diffstat (limited to 'gtk2_ardour/plugin_selector.cc')
-rw-r--r-- | gtk2_ardour/plugin_selector.cc | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/gtk2_ardour/plugin_selector.cc b/gtk2_ardour/plugin_selector.cc index 2a1ce85ee3..3c3d08c2d0 100644 --- a/gtk2_ardour/plugin_selector.cc +++ b/gtk2_ardour/plugin_selector.cc @@ -131,8 +131,6 @@ PluginSelector::PluginSelector (PluginManager& mgr) btn_remove = manage(new Gtk::Button(Stock::REMOVE)); btn_remove->set_sensitive (false); ARDOUR_UI::instance()->set_tip(*btn_remove, _("Remove a plugin from the effect list")); - Gtk::Button *btn_update = manage(new Gtk::Button(Stock::REFRESH)); - ARDOUR_UI::instance()->set_tip(*btn_update, _("Update available plugins")); btn_add->set_name("PluginSelectorButton"); btn_remove->set_name("PluginSelectorButton"); @@ -163,8 +161,7 @@ PluginSelector::PluginSelector (PluginManager& mgr) table->attach (*filter_box, 0, 7, 5, 6, FILL|EXPAND, FILL, 5, 5); table->attach(*btn_add, 1, 2, 6, 7, FILL, FILL, 5, 5); - table->attach(*btn_remove, 3, 4, 6, 7, FILL, FILL, 5, 5); - table->attach(*btn_update, 5, 6, 6, 7, FILL, FILL, 5, 5); + table->attach(*btn_remove, 5, 6, 6, 7, FILL, FILL, 5, 5); table->attach(ascroller, 0, 7, 8, 10); @@ -183,7 +180,6 @@ PluginSelector::PluginSelector (PluginManager& mgr) plugin_display.get_selection()->signal_changed().connect (sigc::mem_fun(*this, &PluginSelector::display_selection_changed)); plugin_display.grab_focus(); - btn_update->signal_clicked().connect (sigc::mem_fun(*this, &PluginSelector::btn_update_clicked)); btn_add->signal_clicked().connect(sigc::mem_fun(*this, &PluginSelector::btn_add_clicked)); btn_remove->signal_clicked().connect(sigc::mem_fun(*this, &PluginSelector::btn_remove_clicked)); added_list.get_selection()->signal_changed().connect (sigc::mem_fun(*this, &PluginSelector::added_list_selection_changed)); @@ -447,12 +443,6 @@ PluginSelector::btn_remove_clicked() } void -PluginSelector::btn_update_clicked() -{ - manager.refresh (); -} - -void PluginSelector::display_selection_changed() { if (plugin_display.get_selection()->count_selected_rows() != 0) { |