13
0

Oops. Turns out activate handles both keyboard and double click. Let Gtk do the right thing.

git-svn-id: svn://localhost/ardour2/branches/3.0@12046 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
David Robillard 2012-04-20 21:06:37 +00:00
parent 1014c931c9
commit f13ff1e10b
2 changed files with 0 additions and 10 deletions

View File

@ -181,7 +181,6 @@ PluginSelector::PluginSelector (PluginManager& mgr)
//plugin_display.set_name("PluginSelectorList");
added_list.set_name("PluginSelectorList");
plugin_display.signal_button_press_event().connect_notify (sigc::mem_fun(*this, &PluginSelector::row_clicked));
plugin_display.signal_row_activated().connect_notify (sigc::mem_fun(*this, &PluginSelector::row_activated));
plugin_display.get_selection()->signal_changed().connect (sigc::mem_fun(*this, &PluginSelector::display_selection_changed));
plugin_display.grab_focus();
@ -199,14 +198,6 @@ PluginSelector::~PluginSelector ()
delete _plugin_menu;
}
void
PluginSelector::row_clicked(GdkEventButton* event)
{
if (event->type == GDK_2BUTTON_PRESS) {
btn_add_clicked();
}
}
void
PluginSelector::row_activated(Gtk::TreeModel::Path path, Gtk::TreeViewColumn* col)
{

View File

@ -118,7 +118,6 @@ class PluginSelector : public ArdourDialog
Gtk::Menu* _plugin_menu;
ARDOUR::PluginManager& manager;
void row_clicked(GdkEventButton *);
void row_activated(Gtk::TreeModel::Path path, Gtk::TreeViewColumn* col);
void btn_add_clicked();
void btn_remove_clicked();