[nautilus/2070-menu-item-re-organization: 116/116] toolbar: Use regular menu items for New... actions




commit 5f25fc96180124e629dc67aa3b7dbafaf689d2ad
Author: António Fernandes <antoniof gnome org>
Date:   Mon Jan 10 13:06:52 2022 +0000

    toolbar: Use regular menu items for New... actions
    
    The symbolic icons share a + button, making them very similar-looking.
    Also, they have no tooltips.
    
    Now that the pathbar has a very visible secondary menu holding the
    "New Folder" action, it no longer needs to be duplicated here.
    
    So, replace these iconified controls with regular menu items for
    "New Tab" and "New Window". Also change the new window action to
    clone-window, which is what this should have been in the first
    place (it's what the Ctrl + N accelerator activates).

 src/resources/ui/nautilus-toolbar.ui | 8 +-------
 1 file changed, 1 insertion(+), 7 deletions(-)
---
diff --git a/src/resources/ui/nautilus-toolbar.ui b/src/resources/ui/nautilus-toolbar.ui
index a79ca35f4..aa07a17a6 100644
--- a/src/resources/ui/nautilus-toolbar.ui
+++ b/src/resources/ui/nautilus-toolbar.ui
@@ -33,10 +33,9 @@
   </menu>
   <menu id="app_menu">
     <section>
-      <attribute name="display-hint">horizontal-buttons</attribute>
       <item>
         <attribute name="label" translatable="yes">New Window</attribute>
-        <attribute name="action">app.new-window</attribute>
+        <attribute name="action">app.clone-window</attribute>
         <attribute name="verb-icon">window-new-symbolic</attribute>
       </item>
       <item>
@@ -44,11 +43,6 @@
         <attribute name="action">win.new-tab</attribute>
         <attribute name="verb-icon">tab-new-symbolic</attribute>
       </item>
-      <item>
-        <attribute name="label" translatable="yes">New Folder</attribute>
-        <attribute name="action">view.new-folder</attribute>
-        <attribute name="verb-icon">folder-new-symbolic</attribute>
-      </item>
     </section>
     <section>
       <attribute name="label" translatable="yes">Icon size</attribute>


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