[gnome-builder] keybindings: fix action name for open



commit 829c8e0bfe7677521edb868e6c7e477c82ed9b65
Author: Christian Hergert <chergert redhat com>
Date:   Tue Jan 15 15:36:50 2019 -0800

    keybindings: fix action name for open

 src/plugins/emacs/keybindings/emacs.css     | 2 +-
 src/plugins/sublime/keybindings/sublime.css | 2 +-
 src/plugins/vim/gb-vim.c                    | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/plugins/emacs/keybindings/emacs.css b/src/plugins/emacs/keybindings/emacs.css
index f5028fccb..b71cf4384 100644
--- a/src/plugins/emacs/keybindings/emacs.css
+++ b/src/plugins/emacs/keybindings/emacs.css
@@ -131,7 +131,7 @@
   bind "<ctrl>c" { "action" ("app", "quit", "") };
   bind "0" { "action" ("frame", "close-page", "") };
   bind "k" { "action" ("frame", "close-page", "") };
-  bind "<ctrl>f" { "action" ("win", "open-with-dialog", "") };
+  bind "<ctrl>f" { "action" ("workbench", "open", "") };
   bind "<ctrl>s" { "action" ("editor-page", "save", "") };
   bind "s" { "action" ("win", "save-all", "") };
   bind "<ctrl>b" { "action" ("frame", "show-list", "") };
diff --git a/src/plugins/sublime/keybindings/sublime.css b/src/plugins/sublime/keybindings/sublime.css
index dc33250ee..244094b65 100644
--- a/src/plugins/sublime/keybindings/sublime.css
+++ b/src/plugins/sublime/keybindings/sublime.css
@@ -3,7 +3,7 @@
 @binding-set sublime-ide-source-view
 {
   bind "<ctrl>n" { "action" ("editor", "new-file", "") };
-  bind "<ctrl>o" { "action" ("win", "open-with-dialog", "") };
+  bind "<ctrl>o" { "action" ("workbench", "open", "") };
   bind "<ctrl>s" { "action" ("editor-page", "save", "") };
   bind "<ctrl><shift>s" { "action" ("editor-page", "save-as", "") };
   bind "<ctrl>w" { "action" ("frame", "close-page", "") };
diff --git a/src/plugins/vim/gb-vim.c b/src/plugins/vim/gb-vim.c
index 5ad7bdf9a..ff7e70e4d 100644
--- a/src/plugins/vim/gb-vim.c
+++ b/src/plugins/vim/gb-vim.c
@@ -465,7 +465,7 @@ gb_vim_command_edit (GtkWidget      *active_widget,
 
   if (ide_str_empty0 (options))
     {
-      dzl_gtk_widget_action (GTK_WIDGET (active_widget), "win", "open-with-dialog", NULL);
+      dzl_gtk_widget_action (GTK_WIDGET (active_widget), "workbench", "open", NULL);
       return TRUE;
     }
 


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