[gnome-builder] vim: fix activation of global-search keybindings



commit 9aec7facf34a311a2685be2d0fcc8e92adf18520
Author: Christian Hergert <chergert redhat com>
Date:   Mon Jan 28 18:36:23 2019 -0800

    vim: fix activation of global-search keybindings

 src/libide/gui/ide-search-entry.ui  | 3 +++
 src/plugins/vim/keybindings/vim.css | 2 +-
 2 files changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/src/libide/gui/ide-search-entry.ui b/src/libide/gui/ide-search-entry.ui
index f5e623ca1..be9785ba8 100644
--- a/src/libide/gui/ide-search-entry.ui
+++ b/src/libide/gui/ide-search-entry.ui
@@ -1,6 +1,9 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <interface>
   <template class="IdeSearchEntry" parent="DzlSuggestionEntry">
+    <style>
+      <class name="global-search"/>
+    </style>
     <child internal-child="popover">
       <object class="DzlSuggestionPopover">
         <property name="title-ellipsize">middle</property>
diff --git a/src/plugins/vim/keybindings/vim.css b/src/plugins/vim/keybindings/vim.css
index d339ec166..7b19375c3 100644
--- a/src/plugins/vim/keybindings/vim.css
+++ b/src/plugins/vim/keybindings/vim.css
@@ -2887,6 +2887,6 @@ window.workbench {
   -gtk-key-bindings: builder-vim-workbench;
 }
 
-window.workbench entry.global-search {
+window entry.global-search {
   -gtk-key-bindings: builder-vim-global-search;
 }


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