summaryrefslogtreecommitdiff
path: root/src/resources/ui
diff options
context:
space:
mode:
authorAntónio Fernandes <antoniof@gnome.org>2018-07-26 16:38:14 +0100
committerCarlos Soriano <csoriano1618@gmail.com>2018-07-27 15:01:38 +0000
commitee75ea771763b4a7fcef5fd61d3c790e688d88e5 (patch)
treecf129f0de1c24fdf019d0dbc5f9ff535f662c847 /src/resources/ui
parent5e8e63eff9ee92c3b8660ad1ba89f2ee08307175 (diff)
downloadnautilus-ee75ea771763b4a7fcef5fd61d3c790e688d88e5.tar.gz
files-view: Streamline properties actions paths
The view.properties action opens the current directory properties when the selection is NULL, which we assume to be the case when opening the background context menu. Instead of relying on this assumption, make the background context menu use the view.current-directory-properties action which is used by the current location menu in the pathbar. Also, rename view.properties to view.selection-properties and specialize it.
Diffstat (limited to 'src/resources/ui')
-rw-r--r--src/resources/ui/nautilus-files-view-context-menus.ui4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/resources/ui/nautilus-files-view-context-menus.ui b/src/resources/ui/nautilus-files-view-context-menus.ui
index d084bc574..1ebff05aa 100644
--- a/src/resources/ui/nautilus-files-view-context-menus.ui
+++ b/src/resources/ui/nautilus-files-view-context-menus.ui
@@ -33,7 +33,7 @@
<section>
<item>
<attribute name="label" translatable="yes">P_roperties</attribute>
- <attribute name="action">view.properties</attribute>
+ <attribute name="action">view.current-directory-properties</attribute>
<attribute name="hidden-when">action-disabled</attribute>
</item>
</section>
@@ -235,7 +235,7 @@
<section>
<item>
<attribute name="label" translatable="yes">P_roperties</attribute>
- <attribute name="action">view.properties</attribute>
+ <attribute name="action">view.selection-properties</attribute>
</item>
</section>
</menu>