[gnome-builder] plugins/editorui: move menu item to format section



commit 4e1ad9597bf7edf31d173b79ca41d071dc4761d2
Author: Christian Hergert <chergert redhat com>
Date:   Fri Jul 29 16:54:05 2022 -0700

    plugins/editorui: move menu item to format section

 src/plugins/editorui/gtk/menus.ui | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/src/plugins/editorui/gtk/menus.ui b/src/plugins/editorui/gtk/menus.ui
index 87ee464fa..59ebe2382 100644
--- a/src/plugins/editorui/gtk/menus.ui
+++ b/src/plugins/editorui/gtk/menus.ui
@@ -173,12 +173,6 @@
         <attribute name="accel">&lt;ctrl&gt;h</attribute>
       </item>
     </section>
-    <section id="ide-editor-page-format-section">
-      <item>
-        <attribute name="label" translatable="yes">Format Selection</attribute>
-        <attribute name="action">page.editor.format</attribute>
-      </item>
-    </section>
     <section id="ide-editor-page-print-section">
       <item>
         <attribute name="label" translatable="yes">Print…</attribute>
@@ -187,4 +181,10 @@
       </item>
     </section>
   </menu>
+  <menu id="ide-source-view-popup-menu-format-section">
+    <item>
+      <attribute name="label" translatable="yes">Format Selection</attribute>
+      <attribute name="action">page.editor.format</attribute>
+    </item>
+  </menu>
 </interface>


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