[gnome-builder/wip/gtk4-port] plugins/sysprof: tweak keybindings a bit
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder/wip/gtk4-port] plugins/sysprof: tweak keybindings a bit
- Date: Tue, 24 May 2022 19:31:30 +0000 (UTC)
commit ac3c5f4d823002235153aa540511e9f6589ecff7
Author: Christian Hergert <chergert redhat com>
Date: Tue May 24 12:31:23 2022 -0700
plugins/sysprof: tweak keybindings a bit
This makes profiling more close to other run commands.
src/plugins/sysprof/gtk/keybindings.json | 3 +--
src/plugins/sysprof/gtk/menus.ui | 3 +--
2 files changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/src/plugins/sysprof/gtk/keybindings.json b/src/plugins/sysprof/gtk/keybindings.json
index 7f597e537..413a17b0d 100644
--- a/src/plugins/sysprof/gtk/keybindings.json
+++ b/src/plugins/sysprof/gtk/keybindings.json
@@ -1,4 +1,3 @@
{ "trigger" : "<Control>s", "action" : "sysprof.save-as", "when" : "inPageWithTypeName(\"GbpSysprofPage\")",
"phase" : "capture" },
-{ "trigger" : "<Control><Shift>F8", "action" : "sysprof.record-again", "when" :
"inPageWithTypeName(\"GbpSysprofPage\")", "phase" : "capture" },
-{ "trigger" : "<Control>F8", "action" : "sysprof.run", "when" : "hasProject()", "phase" : "capture" },
+{ "trigger" : "<Control><Shift><Alt>p", "action" : "sysprof.run", "when" : "hasProject()", "phase" :
"capture" },
{ "trigger" : "<Control>w", "action" : "frame.close-page-or-frame", "when" :
"inPageWithTypeName(\"GbpSysprofPage\")", "phase" : "capture" },
diff --git a/src/plugins/sysprof/gtk/menus.ui b/src/plugins/sysprof/gtk/menus.ui
index 8be987ced..ced6ceb4c 100644
--- a/src/plugins/sysprof/gtk/menus.ui
+++ b/src/plugins/sysprof/gtk/menus.ui
@@ -18,7 +18,7 @@
<attribute name="action">sysprof.run</attribute>
<attribute name="label" translatable="yes">Run with Profiler</attribute>
<attribute name="verb-icon-name">builder-profiler-symbolic</attribute>
- <attribute name="accel"><Control>F8</attribute>
+ <attribute name="accel"><Control><Shift><Alt>p</attribute>
</item>
</section>
</menu>
@@ -121,7 +121,6 @@
<item>
<attribute name="label" translatable="yes">Record Again…</attribute>
<attribute name="action">sysprof.record-again</attribute>
- <attribute name="accel"><control><shift>F8</attribute>
</item>
</section>
<section id="gbp-sysprof-page-close-section">
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]