[gnome-builder/wip/gtk4-port: 957/1774] libide/gui: add shortcuts for preferences/configuration
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder/wip/gtk4-port: 957/1774] libide/gui: add shortcuts for preferences/configuration
- Date: Mon, 11 Jul 2022 22:31:29 +0000 (UTC)
commit 56a457a5a76dd7172acd548b04df54abda51fe8e
Author: Christian Hergert <chergert redhat com>
Date: Tue May 10 15:35:22 2022 -0700
libide/gui: add shortcuts for preferences/configuration
src/libide/gui/gtk/keybindings.json | 4 ++++
src/plugins/buildui/gtk/menus.ui | 1 +
2 files changed, 5 insertions(+)
---
diff --git a/src/libide/gui/gtk/keybindings.json b/src/libide/gui/gtk/keybindings.json
index 0f67826c9..f4f504b96 100644
--- a/src/libide/gui/gtk/keybindings.json
+++ b/src/libide/gui/gtk/keybindings.json
@@ -19,6 +19,10 @@
{ "trigger" : "<Alt>8", "action" : "frame.page", "args" : "8", "when" : "inGrid()", "phase" : "capture" },
{ "trigger" : "<Alt>9", "action" : "frame.page", "args" : "9", "when" : "inGrid()", "phase" : "capture" },
+/* Workspace Actions */
+{ "trigger" : "<Control>comma", "action" : "app.preferences", "phase" : "capture" },
+{ "trigger" : "<Alt>comma", "action" : "workbench.configure", "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" },
diff --git a/src/plugins/buildui/gtk/menus.ui b/src/plugins/buildui/gtk/menus.ui
index af7986cda..f66d83bfe 100644
--- a/src/plugins/buildui/gtk/menus.ui
+++ b/src/plugins/buildui/gtk/menus.ui
@@ -36,6 +36,7 @@
<item>
<attribute name="label" translatable="yes">Configure Project…</attribute>
<attribute name="action">workbench.configure</attribute>
+ <attribute name="accel"><alt>comma</attribute>
</item>
</section>
<section id="build-menu-target">
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]