[gnome-builder/wip/gtk4-port: 980/1774] plugins/debuggerui: move into Logging submenu




commit 3bf0be3e1283732e25e44157c45a7f648b1e408f
Author: Christian Hergert <chergert redhat com>
Date:   Wed May 11 12:41:04 2022 -0700

    plugins/debuggerui: move into Logging submenu
    
    This fits naturally with the "Logging" settings so extend that submenu
    instead of creating a new Debugger submenu.

 src/plugins/debuggerui/gtk/menus.ui | 31 ++++++++++++++-----------------
 1 file changed, 14 insertions(+), 17 deletions(-)
---
diff --git a/src/plugins/debuggerui/gtk/menus.ui b/src/plugins/debuggerui/gtk/menus.ui
index 774e5aec3..6b4e6b6a9 100644
--- a/src/plugins/debuggerui/gtk/menus.ui
+++ b/src/plugins/debuggerui/gtk/menus.ui
@@ -13,24 +13,21 @@
       </item>
     </section>
   </menu>
-  <menu id="run-menu-settings-section">
-    <submenu id="run-menu-debug-submenu">
-      <attribute name="after">run-menu-a11y</attribute>
+  <menu id="run-menu-logging-submenu">
+    <section id="run-menu-logging-debug-section">
+      <attribute name="after">run-menu-logging-section</attribute>
       <attribute name="label" translatable="yes">Debugger</attribute>
-      <section id="run-menu-debug-breakpoints-section">
-        <attribute name="label" translatable="yes">Breakpoints</attribute>
-        <item>
-          <attribute name="label" translatable="yes">Stop at Warnings</attribute>
-          <attribute name="action">debug-manager.stop-at-warnings</attribute>
-          <attribute name="role">check</attribute>
-        </item>
-        <item>
-          <attribute name="label" translatable="yes">Stop at Criticals</attribute>
-          <attribute name="action">debug-manager.stop-at-criticals</attribute>
-          <attribute name="role">check</attribute>
-        </item>
-      </section>
-    </submenu>
+      <item>
+        <attribute name="label" translatable="yes">Stop at Warnings</attribute>
+        <attribute name="action">debug-manager.stop-at-warnings</attribute>
+        <attribute name="role">check</attribute>
+      </item>
+      <item>
+        <attribute name="label" translatable="yes">Stop at Criticals</attribute>
+        <attribute name="action">debug-manager.stop-at-criticals</attribute>
+        <attribute name="role">check</attribute>
+      </item>
+    </section>
   </menu>
   <menu id="project-tree-menu">
     <section id="project-tree-menu-foundry-section">


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]