[gimp/gimp-2-8] Bug 676872 - Image Properties keyboard shortcut Alt+Return Broken



commit 9ce8d4fae2f63576828f80dc156e2fb05f34d510
Author: Michael Natterer <mitch gimp org>
Date:   Sun May 27 19:55:42 2012 +0200

    Bug 676872 - Image Properties keyboard shortcut Alt+Return Broken
    
    Don't swallow key events which were not handled by the keyboard
    controller.
    (cherry picked from commit 6c9f1b57159a3899b99a241de01ae1f71ea143ce)

 app/display/gimpdisplayshell-tool-events.c |    9 +++------
 1 files changed, 3 insertions(+), 6 deletions(-)
---
diff --git a/app/display/gimpdisplayshell-tool-events.c b/app/display/gimpdisplayshell-tool-events.c
index bcf321e..221a4e2 100644
--- a/app/display/gimpdisplayshell-tool-events.c
+++ b/app/display/gimpdisplayshell-tool-events.c
@@ -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;
               }
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]