[gnome-builder/wip/gtk4-port] plugins/debuggerui: wire up F5 to debug
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder/wip/gtk4-port] plugins/debuggerui: wire up F5 to debug
- Date: Wed, 11 May 2022 00:29:13 +0000 (UTC)
commit 0d0fd2ecbc06a4f60a8ab7b1843524e78e88684c
Author: Christian Hergert <chergert redhat com>
Date: Tue May 10 17:29:09 2022 -0700
plugins/debuggerui: wire up F5 to debug
src/plugins/debuggerui/debuggerui.gresource.xml | 1 +
src/plugins/debuggerui/gtk/keybindings.json | 1 +
2 files changed, 2 insertions(+)
---
diff --git a/src/plugins/debuggerui/debuggerui.gresource.xml b/src/plugins/debuggerui/debuggerui.gresource.xml
index b6a0db4a9..d4dcfa07c 100644
--- a/src/plugins/debuggerui/debuggerui.gresource.xml
+++ b/src/plugins/debuggerui/debuggerui.gresource.xml
@@ -3,6 +3,7 @@
<gresource prefix="/plugins/debuggerui">
<file>debuggerui.plugin</file>
<file>gtk/menus.ui</file>
+ <file>gtk/keybindings.json</file>
<file>style.css</file>
<file preprocess="xml-stripblanks">ide-debugger-breakpoints-view.ui</file>
<file preprocess="xml-stripblanks">ide-debugger-controls.ui</file>
diff --git a/src/plugins/debuggerui/gtk/keybindings.json b/src/plugins/debuggerui/gtk/keybindings.json
new file mode 100644
index 000000000..774ff29be
--- /dev/null
+++ b/src/plugins/debuggerui/gtk/keybindings.json
@@ -0,0 +1 @@
+{ "trigger" : "F5", "action" : "run-manager.run-with-handler", "args" : "'debugger'", "when" : "canBuild()",
"phase" : "capture" },
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]