[nautilus] files-view: Add bookmark option to background context menu



commit 76f96b92f8be97339bc6366d77d7468a5ce6cf97
Author: Sachin Daluja <30343-sachindaluja users noreply gitlab gnome org>
Date:   Thu Jan 30 22:36:17 2020 -0500

    files-view: Add bookmark option to background context menu
    
    This makes the background context menu consistent with the pathbar's
    current location menu and improves discoverability.
    
    Closes https://gitlab.gnome.org/GNOME/nautilus/issues/1015

 src/resources/ui/nautilus-files-view-context-menus.ui | 4 ++++
 1 file changed, 4 insertions(+)
---
diff --git a/src/resources/ui/nautilus-files-view-context-menus.ui 
b/src/resources/ui/nautilus-files-view-context-menus.ui
index 949abe5a4..4945f310b 100644
--- a/src/resources/ui/nautilus-files-view-context-menus.ui
+++ b/src/resources/ui/nautilus-files-view-context-menus.ui
@@ -10,6 +10,10 @@
       <attribute name="action">view.new-document</attribute>
       <attribute name="hidden-when">action-disabled</attribute>
     </submenu>
+    <item>
+      <attribute name="label" translatable="yes">Add to _Bookmarks</attribute>
+      <attribute name="action">win.bookmark-current-location</attribute>
+    </item>
     <section>
       <item>
         <attribute name="label" translatable="yes">_Paste</attribute>


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