[nautilus] pathbar: Add empty trash action to secondary menu



commit 0036cbfb0fce3544f01d7548f948cdc557ddf532
Author: Ignacy Kuchciński <ignacykuchcinski gmail com>
Date:   Thu Aug 11 15:39:54 2022 +0200

    pathbar: Add empty trash action to secondary menu

 src/resources/ui/nautilus-pathbar-context-menu.ui | 7 +++++++
 1 file changed, 7 insertions(+)
---
diff --git a/src/resources/ui/nautilus-pathbar-context-menu.ui 
b/src/resources/ui/nautilus-pathbar-context-menu.ui
index fea4f2cf9..c1f9a2c6e 100644
--- a/src/resources/ui/nautilus-pathbar-context-menu.ui
+++ b/src/resources/ui/nautilus-pathbar-context-menu.ui
@@ -55,6 +55,13 @@
       </item>
     </section>
     <section id="background-extensions-section"/>
+    <section>
+      <item>
+        <attribute name="label" translatable="yes">Empty _Trash</attribute>
+        <attribute name="action">view.empty-trash</attribute>
+        <attribute name="hidden-when">action-disabled</attribute>
+      </item>
+    </section>
     <section>
       <item>
         <attribute name="label" translatable="yes">P_roperties</attribute>


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