[gnome-builder] menus: use manager actions via context. prefix
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] menus: use manager actions via context. prefix
- Date: Wed, 27 Jul 2022 05:38:19 +0000 (UTC)
commit 4c07a69f4017e5ebbd58813a9ad3c470b4847e40
Author: Christian Hergert <chergert redhat com>
Date: Tue Jul 26 22:38:14 2022 -0700
menus: use manager actions via context. prefix
src/plugins/buildui/gtk/menus.ui | 30 +++++++++++++++---------------
src/plugins/testui/gtk/menus.ui | 2 +-
src/plugins/valgrind/gtk/menus.ui | 2 +-
3 files changed, 17 insertions(+), 17 deletions(-)
---
diff --git a/src/plugins/buildui/gtk/menus.ui b/src/plugins/buildui/gtk/menus.ui
index 29316e480..d5fa374e6 100644
--- a/src/plugins/buildui/gtk/menus.ui
+++ b/src/plugins/buildui/gtk/menus.ui
@@ -47,33 +47,33 @@
<item>
<attribute name="label" translatable="yes">_Build</attribute>
<attribute name="description" translatable="yes">Build the project</attribute>
- <attribute name="action">build-manager.build</attribute>
+ <attribute name="action">context.build-manager.build</attribute>
<attribute name="accel"><ctrl><alt><shift>b</attribute>
<attribute name="verb-icon">builder-build-symbolic</attribute>
</item>
<item>
<attribute name="label" translatable="yes">_Rebuild</attribute>
<attribute name="description" translatable="yes">Rebuild the project</attribute>
- <attribute name="action">build-manager.rebuild</attribute>
+ <attribute name="action">context.build-manager.rebuild</attribute>
<attribute name="verb-icon">builder-build-symbolic</attribute>
</item>
<item>
<attribute name="label" translatable="yes">_Clean</attribute>
<attribute name="description" translatable="yes">Clean the project</attribute>
- <attribute name="action">build-manager.clean</attribute>
+ <attribute name="action">context.build-manager.clean</attribute>
<attribute name="verb-icon">builder-build-symbolic</attribute>
</item>
</section>
<section id="build-export">
<item>
<attribute name="label" translatable="yes">_Install</attribute>
- <attribute name="action">build-manager.install</attribute>
+ <attribute name="action">context.build-manager.install</attribute>
<attribute name="description" translatable="yes">Install the project</attribute>
<attribute name="verb-icon">builder-build-symbolic</attribute>
</item>
<item>
<attribute name="label" translatable="yes">Deploy to Deviceā¦</attribute>
- <attribute name="action">device-manager.deploy</attribute>
+ <attribute name="action">context.device-manager.deploy</attribute>
<attribute name="description" translatable="yes">Deploy project to current device</attribute>
<attribute name="verb-icon">builder-build-symbolic</attribute>
</item>
@@ -84,7 +84,7 @@
the output is the same as using flatpak-builder from Flathub, etc.
-->
<attribute name="label" translatable="yes">_Export</attribute>
- <attribute name="action">build-manager.export</attribute>
+ <attribute name="action">context.build-manager.export</attribute>
<attribute name="description" translatable="yes">Export project</attribute>
<attribute name="verb-icon">builder-build-symbolic</attribute>
</item>
@@ -92,7 +92,7 @@
<section id="build-cork">
<item>
<attribute name="label" translatable="yes">Stop Build</attribute>
- <attribute name="action">build-manager.cancel</attribute>
+ <attribute name="action">context.build-manager.cancel</attribute>
<attribute name="description" translatable="yes">Stop building project</attribute>
<attribute name="verb-icon">builder-build-stop-symbolic</attribute>
</item>
@@ -131,7 +131,7 @@
<section id="run-menu-observation-section">
<item>
<attribute name="id">default-run-handler</attribute>
- <attribute name="action">run-manager.run-with-handler</attribute>
+ <attribute name="action">context.run-manager.run-with-handler</attribute>
<attribute name="target" type="s">'run'</attribute>
<attribute name="label" translatable="yes">Run</attribute>
<attribute name="accel"><Control><Shift>space</attribute>
@@ -147,19 +147,19 @@
<item>
<attribute name="label">Follow System Style</attribute>
<attribute name="role">radio</attribute>
- <attribute name="action">run-manager.color-scheme</attribute>
+ <attribute name="action">context.run-manager.color-scheme</attribute>
<attribute name="target" type="s">'follow'</attribute>
</item>
<item>
<attribute name="label">Force Light</attribute>
<attribute name="role">radio</attribute>
- <attribute name="action">run-manager.color-scheme</attribute>
+ <attribute name="action">context.run-manager.color-scheme</attribute>
<attribute name="target" type="s">'force-light'</attribute>
</item>
<item>
<attribute name="label">Force Dark</attribute>
<attribute name="role">radio</attribute>
- <attribute name="action">run-manager.color-scheme</attribute>
+ <attribute name="action">context.run-manager.color-scheme</attribute>
<attribute name="target" type="s">'force-dark'</attribute>
</item>
</submenu>
@@ -168,20 +168,20 @@
<item>
<attribute name="label" translatable="yes">High Contrast</attribute>
<attribute name="role">check</attribute>
- <attribute name="action">run-manager.high-contrast</attribute>
+ <attribute name="action">context.run-manager.high-contrast</attribute>
</item>
<section id="run-menu-a11y-text-direction">
<attribute name="label" translatable="yes">Text Direction</attribute>
<item>
<attribute name="label" translatable="yes">Left-to-Right</attribute>
<attribute name="role">check</attribute>
- <attribute name="action">run-manager.text-direction</attribute>
+ <attribute name="action">context.run-manager.text-direction</attribute>
<attribute name="target" type="s">'ltr'</attribute>
</item>
<item>
<attribute name="label" translatable="yes">Right-to-Left</attribute>
<attribute name="role">check</attribute>
- <attribute name="action">run-manager.text-direction</attribute>
+ <attribute name="action">context.run-manager.text-direction</attribute>
<attribute name="target" type="s">'rtl'</attribute>
</item>
</section>
@@ -189,7 +189,7 @@
<item>
<attribute name="id">run-menu-verbose-logging</attribute>
<attribute name="label" translatable="yes">Verbose Logging</attribute>
- <attribute name="action">run-manager.messages-debug-all</attribute>
+ <attribute name="action">context.run-manager.messages-debug-all</attribute>
<attribute name="role">check</attribute>
</item>
</section>
diff --git a/src/plugins/testui/gtk/menus.ui b/src/plugins/testui/gtk/menus.ui
index beab3037b..0fc186426 100644
--- a/src/plugins/testui/gtk/menus.ui
+++ b/src/plugins/testui/gtk/menus.ui
@@ -4,7 +4,7 @@
<section id="run-menu-tests-section">
<item>
<attribute name="id">run-unit-tests</attribute>
- <attribute name="action">test-manager.test-all</attribute>
+ <attribute name="action">context.test-manager.test-all</attribute>
<attribute name="label" translatable="yes">Run all Unit Tests</attribute>
<attribute name="verb-icon">builder-unit-tests-symbolic</attribute>
<attribute name="accel"><control><shift><alt>u</attribute>
diff --git a/src/plugins/valgrind/gtk/menus.ui b/src/plugins/valgrind/gtk/menus.ui
index f03f42ea7..b14a93c61 100644
--- a/src/plugins/valgrind/gtk/menus.ui
+++ b/src/plugins/valgrind/gtk/menus.ui
@@ -5,7 +5,7 @@
<item>
<attribute name="id">valgrind-run-handler</attribute>
<attribute name="after">default-run-handler</attribute>
- <attribute name="action">run-manager.run-with-handler</attribute>
+ <attribute name="action">context.run-manager.run-with-handler</attribute>
<attribute name="target" type="s">'valgrind'</attribute>
<attribute name="label" translatable="yes">Run with Leak Detector</attribute>
<attribute name="verb-icon">system-run-symbolic</attribute>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]