Bug 676872 - Image Properties keyboard shortcut Alt+Return Broken

Don't swallow key events which were not handled by the keyboard
controller.
This commit is contained in:
Michael Natterer 2012-05-27 19:55:42 +02:00
parent c1786fe753
commit 6c9f1b5715
1 changed files with 3 additions and 6 deletions

View File

@ -1015,11 +1015,10 @@ gimp_display_shell_canvas_tool_events (GtkWidget *canvas,
GimpController *keyboard = gimp_controllers_get_keyboard (gimp);
if (keyboard)
gimp_controller_keyboard_key_press (GIMP_CONTROLLER_KEYBOARD (keyboard),
kevent);
return_val =
gimp_controller_keyboard_key_press (GIMP_CONTROLLER_KEYBOARD (keyboard),
kevent);
}
return_val = TRUE;
break;
case GDK_KEY_space:
@ -1048,7 +1047,6 @@ gimp_display_shell_canvas_tool_events (GtkWidget *canvas,
if (! gimp_image_is_empty (image))
tool_manager_modifier_state_active (gimp, state, display);
}
break;
}
@ -1135,7 +1133,6 @@ gimp_display_shell_canvas_tool_events (GtkWidget *canvas,
if (! gimp_image_is_empty (image))
tool_manager_modifier_state_active (gimp, state, display);
}
break;
}