[gnome-builder] foundry: fix global keybindings for Run actions



commit 8bf0e658d26e72437d6e3919c61ff368f424f5f9
Author: Christian Hergert <chergert redhat com>
Date:   Fri Aug 30 15:27:04 2019 -0700

    foundry: fix global keybindings for Run actions
    
    Fixes #1004

 src/libide/foundry/ide-run-manager.c | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/src/libide/foundry/ide-run-manager.c b/src/libide/foundry/ide-run-manager.c
index 6577dfdf7..2bce69c60 100644
--- a/src/libide/foundry/ide-run-manager.c
+++ b/src/libide/foundry/ide-run-manager.c
@@ -855,7 +855,10 @@ ide_run_manager_add_handler (IdeRunManager  *self,
                                    NC_("shortcut window", title),
                                    NULL);
 
-  dzl_shortcut_theme_set_accel_for_action (theme, action_name, accel, DZL_SHORTCUT_PHASE_DISPATCH);
+  dzl_shortcut_theme_set_accel_for_action (theme,
+                                           action_name,
+                                           accel,
+                                           DZL_SHORTCUT_PHASE_GLOBAL | DZL_SHORTCUT_PHASE_CAPTURE);
 
   if (self->handler == NULL)
     self->handler = info;


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