summaryrefslogtreecommitdiff
path: root/gtk2_ardour/keyeditor.h
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2015-08-05 10:57:00 -0400
committerPaul Davis <paul@linuxaudiosystems.com>2016-02-22 15:31:23 -0500
commit6e5581253559fee9bf82fe3ba52ab2db07d3bed2 (patch)
treef73b0e9f58881411a22e3fd886b83039de36e21b /gtk2_ardour/keyeditor.h
parent36023db8aa63d59d475c137e6b394f30e8cde1b7 (diff)
use Bindings API for binding replacement
Diffstat (limited to 'gtk2_ardour/keyeditor.h')
-rw-r--r--gtk2_ardour/keyeditor.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/gtk2_ardour/keyeditor.h b/gtk2_ardour/keyeditor.h
index 472b5063f7..046f8b0715 100644
--- a/gtk2_ardour/keyeditor.h
+++ b/gtk2_ardour/keyeditor.h
@@ -58,15 +58,17 @@ class KeyEditor : public ArdourWindow
struct KeyEditorColumns : public Gtk::TreeModel::ColumnRecord {
KeyEditorColumns () {
- add (action);
+ add (name);
add (binding);
add (path);
add (bindable);
+ add (action);
}
- Gtk::TreeModelColumn<std::string> action;
+ Gtk::TreeModelColumn<std::string> name;
Gtk::TreeModelColumn<std::string> binding;
Gtk::TreeModelColumn<std::string> path;
Gtk::TreeModelColumn<bool> bindable;
+ Gtk::TreeModelColumn<Glib::RefPtr<Gtk::Action> > action;
};
Gtk::VBox vpacker;