[gnome-builder/wip/gtk4-port: 954/1774] libide/gui: add some keybindings for build
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder/wip/gtk4-port: 954/1774] libide/gui: add some keybindings for build
- Date: Mon, 11 Jul 2022 22:31:29 +0000 (UTC)
commit 0864840a018aeea8ee4796e06bbdf3db6f343cf3
Author: Christian Hergert <chergert redhat com>
Date: Tue May 10 15:17:29 2022 -0700
libide/gui: add some keybindings for build
ctrl+shift+space to build
ctrl+shift+l for build log
ctrl+shift+r for rebuild
src/libide/gui/gtk/keybindings.json | 5 +++++
src/plugins/buildui/gtk/menus.ui | 1 +
2 files changed, 6 insertions(+)
---
diff --git a/src/libide/gui/gtk/keybindings.json b/src/libide/gui/gtk/keybindings.json
index 38503592b..0f67826c9 100644
--- a/src/libide/gui/gtk/keybindings.json
+++ b/src/libide/gui/gtk/keybindings.json
@@ -19,6 +19,11 @@
{ "trigger" : "<Alt>8", "action" : "frame.page", "args" : "8", "when" : "inGrid()", "phase" : "capture" },
{ "trigger" : "<Alt>9", "action" : "frame.page", "args" : "9", "when" : "inGrid()", "phase" : "capture" },
+/* Build Actions */
+{ "trigger" : "<Control><Shift>l", "action" : "win.show-build-log", "when" : "hasProject()", "phase" :
"capture" },
+{ "trigger" : "<Control><Shift>r", "action" : "build-manager.rebuild", "when" : "hasProject()", "phase" :
"capture" },
+{ "trigger" : "<Control><Shift>space", "action" : "build-manager.build", "when" : "hasProject()", "phase" :
"capture" },
+
/* New Terminal Actions */
{ "trigger" : "<Control><Shift>t", "action" : "win.new-terminal", "when" : "canEdit()", "phase" : "capture"
},
{ "trigger" : "<Control><Alt><Shift>t", "action" : "win.new-terminal-in-config", "when" : "canEdit()",
"phase" : "capture" },
diff --git a/src/plugins/buildui/gtk/menus.ui b/src/plugins/buildui/gtk/menus.ui
index 030e60f02..af7986cda 100644
--- a/src/plugins/buildui/gtk/menus.ui
+++ b/src/plugins/buildui/gtk/menus.ui
@@ -53,6 +53,7 @@
<item>
<attribute name="label" translatable="yes">_Rebuild</attribute>
<attribute name="action">build-manager.rebuild</attribute>
+ <attribute name="accel"><ctrl><shift>r</attribute>
</item>
<item>
<attribute name="label" translatable="yes">_Clean</attribute>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]