[gnome-builder/wip/gtk4-port: 1069/1774] plugins/sysprof: more shortcuts and accels
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder/wip/gtk4-port: 1069/1774] plugins/sysprof: more shortcuts and accels
- Date: Mon, 11 Jul 2022 22:31:33 +0000 (UTC)
commit d543f7fab445f098089ffe4766edcfb4f12c90d9
Author: Christian Hergert <chergert redhat com>
Date: Wed May 18 18:01:52 2022 -0700
plugins/sysprof: more shortcuts and accels
src/plugins/sysprof/gtk/keybindings.json | 1 +
src/plugins/sysprof/gtk/menus.ui | 5 ++++-
2 files changed, 5 insertions(+), 1 deletion(-)
---
diff --git a/src/plugins/sysprof/gtk/keybindings.json b/src/plugins/sysprof/gtk/keybindings.json
index 5fbf24061..7f597e537 100644
--- a/src/plugins/sysprof/gtk/keybindings.json
+++ b/src/plugins/sysprof/gtk/keybindings.json
@@ -1,3 +1,4 @@
{ "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>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 60c8b1124..80bc5646a 100644
--- a/src/plugins/sysprof/gtk/menus.ui
+++ b/src/plugins/sysprof/gtk/menus.ui
@@ -123,20 +123,23 @@
</section>
<section id="gbp-sysprof-page-file-section">
<item>
- <attribute name="label" translatable="yes">Save As…</attribute>
+ <attribute name="label" translatable="yes">Save</attribute>
<attribute name="action">sysprof.save-as</attribute>
+ <attribute name="accel"><control>s</attribute>
</item>
</section>
<section id="gbp-sysprof-page-record-section">
<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">
<item>
<attribute name="label" translatable="yes">Close</attribute>
<attribute name="action">frame.close-page-or-frame</attribute>
+ <attribute name="accel"><control>w</attribute>
</item>
</section>
</menu>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]