[gnome-builder/gnome-builder-3-26] shortcuts: use global/capture for global search



commit a835a32b98473e8e44656197d1a0a07cd42d6172
Author: Christian Hergert <chergert redhat com>
Date:   Thu Nov 23 02:47:55 2017 -0800

    shortcuts: use global/capture for global search

 libide/application/ide-application-shortcuts.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/libide/application/ide-application-shortcuts.c b/libide/application/ide-application-shortcuts.c
index bd4e7df..fdd0d7d 100644
--- a/libide/application/ide-application-shortcuts.c
+++ b/libide/application/ide-application-shortcuts.c
@@ -68,7 +68,8 @@ _ide_application_init_shortcuts (IdeApplication *self)
                                    NC_("shortcut window", "Search"),
                                    NC_("shortcut window", "Focus to the global search entry"),
                                    NULL);
-  dzl_shortcut_theme_set_accel_for_action (theme, "win.global-search", "<Primary>period", 
DZL_SHORTCUT_PHASE_DISPATCH);
+  dzl_shortcut_theme_set_accel_for_action (theme, "win.global-search", "<Primary>period",
+                                           DZL_SHORTCUT_PHASE_CAPTURE | DZL_SHORTCUT_PHASE_GLOBAL);
 
   dzl_shortcut_manager_add_action (manager,
                                    I_("build-manager.build"),


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