[gnome-builder] editor: panel shortcuts run in capture phase



commit bd67f18b63f2b4e5f67e9004bd9b0056585b7d1c
Author: Christian Hergert <chergert redhat com>
Date:   Thu Sep 21 12:40:08 2017 -0700

    editor: panel shortcuts run in capture phase
    
    We don't want to allow the focus to steal these keybindings, such as the
    terminal widgets.

 .../editor/ide-editor-perspective-shortcuts.c      |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/libide/editor/ide-editor-perspective-shortcuts.c 
b/src/libide/editor/ide-editor-perspective-shortcuts.c
index c126007..8b03a17 100644
--- a/src/libide/editor/ide-editor-perspective-shortcuts.c
+++ b/src/libide/editor/ide-editor-perspective-shortcuts.c
@@ -77,13 +77,13 @@ _ide_editor_perspective_init_shortcuts (IdeEditorPerspective *self)
   dzl_shortcut_controller_add_command_action (controller,
                                               I_("org.gnome.builder.editor.navigation-panel"),
                                               I_("F9"),
-                                              DZL_SHORTCUT_PHASE_GLOBAL,
+                                              DZL_SHORTCUT_PHASE_CAPTURE | DZL_SHORTCUT_PHASE_GLOBAL,
                                               I_("dockbin.left-visible"));
 
   dzl_shortcut_controller_add_command_action (controller,
                                               I_("org.gnome.builder.editor.utilities-panel"),
                                               I_("<Control>F9"),
-                                              DZL_SHORTCUT_PHASE_GLOBAL,
+                                              DZL_SHORTCUT_PHASE_CAPTURE | DZL_SHORTCUT_PHASE_GLOBAL,
                                               I_("dockbin.bottom-visible"));
 
   dzl_shortcut_manager_add_shortcut_entries (NULL,


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