[nautilus/wip/csoriano/flow: 13/55] files-view: hide properties menu item when action disabled
- From: Carlos Soriano Sánchez <csoriano src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus/wip/csoriano/flow: 13/55] files-view: hide properties menu item when action disabled
- Date: Thu, 7 Apr 2016 20:52:26 +0000 (UTC)
commit a06cde4d0bb1645bcc82fe86be475746116ecda0
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]