diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2011-03-04 03:10:48 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2011-03-04 03:10:48 +0000 |
commit | d08e3b94c5ef75ce5d4d28f3636faa8af4661e17 (patch) | |
tree | 07b81d1a8d8c8c6c7d5a39b64c4d2357e31c6b7d /gtk2_ardour/step_entry.cc | |
parent | 3d1fc33abb9592379ed5600a60e3097013eed9fb (diff) |
basic adoption of new mouse binding facility
git-svn-id: svn://localhost/ardour2/branches/3.0@9063 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/step_entry.cc')
-rw-r--r-- | gtk2_ardour/step_entry.cc | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/gtk2_ardour/step_entry.cc b/gtk2_ardour/step_entry.cc index ac79487b90..af439ea26f 100644 --- a/gtk2_ardour/step_entry.cc +++ b/gtk2_ardour/step_entry.cc @@ -487,7 +487,7 @@ StepEntry::on_key_press_event (GdkEventKey* ev) if (!gtk_window_propagate_key_event (GTK_WINDOW(gobj()), ev)) { KeyboardKey k (ev->state, ev->keyval); - if (bindings.activate (k, KeyboardKey::Press)) { + if (bindings.activate (k, Bindings::Press)) { return true; } } @@ -501,7 +501,7 @@ StepEntry::on_key_release_event (GdkEventKey* ev) if (!gtk_window_propagate_key_event (GTK_WINDOW(gobj()), ev)) { KeyboardKey k (ev->state, ev->keyval); - if (bindings.activate (k, KeyboardKey::Release)) { + if (bindings.activate (k, Bindings::Release)) { return true; } } @@ -693,7 +693,6 @@ void StepEntry::load_bindings () { /* XXX move this to a better place */ - KeyboardKey::set_ignored_state (GDK_LOCK_MASK|GDK_MOD2_MASK|GDK_MOD3_MASK); bindings.set_action_map (myactions); |