[gnome-builder/wip/gtk4-port] plugins/ls: cleanup folder menu items



commit 898147c482baf73a29c96cfd2e68549f9978a758
Author: Christian Hergert <chergert redhat com>
Date:   Mon May 23 14:05:49 2022 -0700

    plugins/ls: cleanup folder menu items
    
    To be a bit closer to the project tree format.

 src/plugins/ls/gtk/menus.ui | 23 +++++++++++++----------
 1 file changed, 13 insertions(+), 10 deletions(-)
---
diff --git a/src/plugins/ls/gtk/menus.ui b/src/plugins/ls/gtk/menus.ui
index 6e10ebdf3..75022cc4d 100644
--- a/src/plugins/ls/gtk/menus.ui
+++ b/src/plugins/ls/gtk/menus.ui
@@ -11,16 +11,19 @@
   </menu>
   <menu id="ide-source-view-popup-menu">
     <section id="ide-source-view-popup-menu-files-section">
-      <item>
-        <attribute name="id">source-view-open-directory</attribute>
-        <attribute name="label" translatable="yes">Open in _Folder Listing</attribute>
-        <attribute name="action">ls.open-directory</attribute>
-      </item>
-      <item>
-        <attribute name="id">source-view-open-in-files</attribute>
-        <attribute name="label" translatable="yes">Open Containing _Folder</attribute>
-        <attribute name="action">ls.open-in-files</attribute>
-      </item>
+      <submenu id="ide-source-view-popup-menu-open-containing-folder-section">
+        <attribute name="label" translatable="yes">Open Containing Folder</attribute>
+        <item>
+          <attribute name="id">source-view-open-directory</attribute>
+          <attribute name="label" translatable="yes">With _Folder Listing</attribute>
+          <attribute name="action">ls.open-directory</attribute>
+        </item>
+        <item>
+          <attribute name="id">source-view-open-in-files</attribute>
+          <attribute name="label" translatable="yes">With File _Browser…</attribute>
+          <attribute name="action">ls.open-in-files</attribute>
+        </item>
+      </submenu>
     </section>
   </menu>
 </interface>


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