try to get that revision info correct, sigh
[ardour.git] / libs / gtkmm2ext / keyboard.cc
index 6328eb977c39492327ed7a55db6eff7cbcc5e57b..9966972edba6d41a8ed00a3055e1f914359cf452 100644 (file)
@@ -243,6 +243,14 @@ Keyboard::snooper (GtkWidget *widget, GdkEventKey *event)
                keyval = event->keyval;
        }
 
+       if (keyval == GDK_Shift_L) {
+               /* There is a special and rather hacky situation in Editor which makes
+                  it useful to know when a shift key has been released, so emit a signal
+                  here (see Editor::_stepping_axis_view)
+               */
+               ShiftReleased (); /* EMIT SIGNAL */
+       }
+
        if (event->type == GDK_KEY_PRESS) {
 
                if (find (state.begin(), state.end(), keyval) == state.end()) {
@@ -523,7 +531,7 @@ Keyboard::load_keybindings (string path)
 
 
        } catch (...) {
-               error << string_compose (_("Ardour key bindings file not found at \"%1\" or contains errors."), path)
+               error << string_compose (_("key bindings file not found at \"%2\" or contains errors."), path)
                      << endmsg;
                return false;
        }