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



commit ea18ab74ddd5843629864bc931f2028659741000
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]