[gnome-builder/wip/gtk4-port: 953/1774] libide/gui: use clipboard.copy and paste




commit 3964cd55297ff3475a2374058c6eb8058ae0ed9f
Author: Christian Hergert <chergert redhat com>
Date:   Tue May 10 15:17:12 2022 -0700

    libide/gui: use clipboard.copy and paste
    
    These don't exist yet with in VteTerminal, but we should use those as the
    action names even if we are the ones implementing it in our subclass until
    they are upstream.

 src/libide/gui/gtk/keybindings.json | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/libide/gui/gtk/keybindings.json b/src/libide/gui/gtk/keybindings.json
index 8d9c0a484..38503592b 100644
--- a/src/libide/gui/gtk/keybindings.json
+++ b/src/libide/gui/gtk/keybindings.json
@@ -25,8 +25,8 @@
 { "trigger" : "<Control><Alt>t", "action" : "win.new-terminal-in-runner", "when" : "canEdit()", "phase" : 
"capture" },
 
 /* IdeTerminal */
-{ "trigger" : "<Control><Shift>c", "action" : "terminal.copy-clipboard", "when" : "inTerminal()", "phase" : 
"capture" },
-{ "trigger" : "<Control><Shift>v", "action" : "terminal.paste-clipboard", "when" : "inTerminal()", "phase" : 
"capture" },
+{ "trigger" : "<Control><Shift>c", "action" : "clipboard.copy", "when" : "inTerminal()", "phase" : "capture" 
},
+{ "trigger" : "<Control><Shift>v", "action" : "clipboard.paste", "when" : "inTerminal()", "phase" : 
"capture" },
 { "trigger" : "<Control><Shift>f", "action" : "terminal.search-reveal", "when" : "inTerminal()", "phase" : 
"capture" },
 { "trigger" : "<Control><Shift>braceleft", "action" : "page.move-left", "when" : "inTerminal()", "phase" : 
"capture" },
 { "trigger" : "<Control><Shift>braceright", "action" : "page.move-right", "when" : "inTerminal()", "phase" : 
"capture" },


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