[nautilus] toolbar: Move "Reload"/"Stop" actions into folder menu



commit 9a75ffe762f36d236e2141389393e1efe72d72d0
Author: Yihua Liu <yihuajack live cn>
Date:   Fri Jun 3 22:15:37 2022 +0000

    toolbar: Move "Reload"/"Stop" actions into folder menu
    
    Although we are technically reloading the view, that's an implementation detail.
    
    From a user point of view, we are reloading the current location. The main point
    of reference here can be web browsers, which also have got a Reload action in
    the page context menu.
    
    So, move the action to its due place.
    
    Closes #1860

 src/resources/ui/nautilus-files-view-context-menus.ui | 10 ++++++++++
 src/resources/ui/nautilus-toolbar.ui                  | 10 ----------
 2 files changed, 10 insertions(+), 10 deletions(-)
---
diff --git a/src/resources/ui/nautilus-files-view-context-menus.ui 
b/src/resources/ui/nautilus-files-view-context-menus.ui
index 40a066aba..57388c919 100644
--- a/src/resources/ui/nautilus-files-view-context-menus.ui
+++ b/src/resources/ui/nautilus-files-view-context-menus.ui
@@ -15,6 +15,16 @@
       <attribute name="label" translatable="yes">Add to _Bookmarks</attribute>
       <attribute name="action">win.bookmark-current-location</attribute>
     </item>
+    <item>
+      <attribute name="label" translatable="yes">R_eload</attribute>
+      <attribute name="action">win.reload</attribute>
+      <attribute name="hidden-when">action-disabled</attribute>
+    </item>
+    <item>
+      <attribute name="label" translatable="yes">St_op</attribute>
+      <attribute name="action">win.stop</attribute>
+      <attribute name="hidden-when">action-disabled</attribute>
+    </item>
     <section>
       <item>
         <attribute name="label" translatable="yes">_Open With Other Application</attribute>
diff --git a/src/resources/ui/nautilus-toolbar.ui b/src/resources/ui/nautilus-toolbar.ui
index aa07a17a6..7103e4423 100644
--- a/src/resources/ui/nautilus-toolbar.ui
+++ b/src/resources/ui/nautilus-toolbar.ui
@@ -19,16 +19,6 @@
         <attribute name="action">view.visible-columns</attribute>
         <attribute name="hidden-when">action-missing</attribute>
       </item>
-      <item>
-        <attribute name="label" translatable="yes">R_eload</attribute>
-        <attribute name="action">win.reload</attribute>
-        <attribute name="hidden-when">action-disabled</attribute>
-      </item>
-      <item>
-        <attribute name="label" translatable="yes">St_op</attribute>
-        <attribute name="action">win.stop</attribute>
-        <attribute name="hidden-when">action-disabled</attribute>
-      </item>
     </section>
   </menu>
   <menu id="app_menu">


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