[gnome-builder] keybindings: use win.global-search



commit 7f99e394e9c30d632fb56f5f1a3a0df26c97c00a
Author: Christian Hergert <chergert redhat com>
Date:   Thu Jun 30 15:12:02 2016 -0700

    keybindings: use win.global-search
    
    This has moved to the generic header bar, so we activate via the win prefix

 data/keybindings/vim.css           |    2 +-
 libide/workbench/ide-layout-grid.c |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/data/keybindings/vim.css b/data/keybindings/vim.css
index 0e3be6f..484eb02 100644
--- a/data/keybindings/vim.css
+++ b/data/keybindings/vim.css
@@ -2365,7 +2365,7 @@ bind "KP_Multiply" { "save-insert-mark" ()
 
 @binding-set builder-vim-workbench
 {
-  bind "<ctrl>period" { "action" ("perspective", "global-search", "") };
+  bind "<ctrl>period" { "action" ("win", "global-search", "") };
 }
 
 /*
diff --git a/libide/workbench/ide-layout-grid.c b/libide/workbench/ide-layout-grid.c
index 473ba05..40e04b5 100644
--- a/libide/workbench/ide-layout-grid.c
+++ b/libide/workbench/ide-layout-grid.c
@@ -261,7 +261,7 @@ ide_layout_grid_stack_empty (IdeLayoutGrid  *self,
 
   if (g_list_length (stacks) == 1)
     {
-      ide_widget_action (GTK_WIDGET (self), "perspective", "global-search", NULL);
+      ide_widget_action (GTK_WIDGET (self), "win", "global-search", NULL);
       g_signal_emit (self, signals [EMPTY], 0);
       goto cleanup;
     }


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