[nautilus/wip/csoriano/destktop-split2: 17/47] files-view: hide properties menu item when action disabled



commit 7bcb6b79342a6c4edc99be0192e56b7c789731a4
Author: Carlos Soriano <csoriano gnome org>
Date:   Fri Mar 18 16:28:51 2016 +0100

    files-view: hide properties menu item when action disabled
    
    If not the desktop will show it with insensitive, which is odd.

 .../ui/nautilus-files-view-context-menus.ui        |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/resources/ui/nautilus-files-view-context-menus.ui 
b/src/resources/ui/nautilus-files-view-context-menus.ui
index 1d5035f..b40d242 100644
--- a/src/resources/ui/nautilus-files-view-context-menus.ui
+++ b/src/resources/ui/nautilus-files-view-context-menus.ui
@@ -34,6 +34,7 @@
       <item>
         <attribute name="label" translatable="yes">P_roperties</attribute>
         <attribute name="action">view.properties</attribute>
+        <attribute name="hidden-when">action-disabled</attribute>
       </item>
     </section>
     <section>


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