[gnome-builder] ls: Move project tree menu item from Open With to a top-level item



commit 1f2bf81375d41d80f39e24c4197da90c5abb5316
Author: vanadiae <vanadiae35 gmail com>
Date:   Sun Dec 27 19:05:28 2020 +0100

    ls: Move project tree menu item from Open With to a top-level item
    
    Currently the folder browser is inconvenient to use because it is
    buried under two menus.
    
    So this commit moves it to a top-level item in the first menu, and
    rename it too to reflect this. That way it is more accessible.

 src/plugins/ls/gtk/menus.ui | 16 ++++++----------
 1 file changed, 6 insertions(+), 10 deletions(-)
---
diff --git a/src/plugins/ls/gtk/menus.ui b/src/plugins/ls/gtk/menus.ui
index 9045588ca..afb33b486 100644
--- a/src/plugins/ls/gtk/menus.ui
+++ b/src/plugins/ls/gtk/menus.ui
@@ -2,16 +2,12 @@
 <interface>
   <menu id="project-tree-menu">
     <section id="project-tree-menu-open-section">
-      <submenu id="project-tree-menu-open-with-menu">
-        <section id="project-tree-menu-open-with-section">
-          <item>
-            <attribute name="id">project-tree-menu-open-editor</attribute>
-            <attribute name="label" translatable="yes">Directory Browser</attribute>
-            <attribute name="action">project-tree.open-with-hint</attribute>
-            <attribute name="target" type="s">'ls'</attribute>
-          </item>
-        </section>
-      </submenu>
+      <item>
+        <attribute name="id">project-tree-menu-open-editor</attribute>
+        <attribute name="label" translatable="yes">Browse Folder</attribute>
+        <attribute name="action">project-tree.open-with-hint</attribute>
+        <attribute name="target" type="s">'ls'</attribute>
+      </item>
     </section>
   </menu>
   <menu id="ide-source-view-popup-menu">


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