[nautilus/antoniof/current-location-menu-actions-fixes: 2/4] pathbar-context-menu: Don't show Star/Unstar



commit 12fb419604dbf402a939526acf93b1cfa6564484
Author: António Fernandes <antoniof gnome org>
Date:   Tue Aug 28 10:23:51 2018 +0100

    pathbar-context-menu: Don't show Star/Unstar
    
    These actions are applying to the selected files, not the current folder.
    
    Also, if fixed to apply to the current location, they overlap with
    "Add to Bookmarks" in intent, making it hard for a person to decide.
    
    Since we can't Star all location, favor "Add to Bookmarks" for now.
    
    https://gitlab.gnome.org/GNOME/nautilus/issues/552

 src/resources/ui/nautilus-pathbar-context-menu.ui | 11 +----------
 1 file changed, 1 insertion(+), 10 deletions(-)
---
diff --git a/src/resources/ui/nautilus-pathbar-context-menu.ui 
b/src/resources/ui/nautilus-pathbar-context-menu.ui
index a34581680..12a3c6799 100644
--- a/src/resources/ui/nautilus-pathbar-context-menu.ui
+++ b/src/resources/ui/nautilus-pathbar-context-menu.ui
@@ -16,16 +16,6 @@
       <attribute name="label" translatable="yes">Add to _Bookmarks</attribute>
       <attribute name="action">view.bookmark</attribute>
     </item>
-    <item>
-      <attribute name="label" translatable="yes" context="menu item" comments="Marks a file as starred 
(starred)">Star</attribute>
-      <attribute name="action">view.star</attribute>
-      <attribute name="hidden-when">action-disabled</attribute>
-    </item>
-    <item>
-      <attribute name="label" translatable="yes" context="menu item" comments="Unmarks a file as starred 
(starred)">Unstar</attribute>
-      <attribute name="action">view.unstar</attribute>
-      <attribute name="hidden-when">action-disabled</attribute>
-    </item>
     <section>
       <item>
         <attribute name="label" translatable="yes">_Paste</attribute>
@@ -60,3 +50,4 @@
     </item>
   </menu>
 </interface>
+


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