[nautilus/follow-up-to-mr281: 3/4] files-view: Use current-directory-properties on backgrond menu
- From: Carlos Soriano <csoriano src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus/follow-up-to-mr281: 3/4] files-view: Use current-directory-properties on backgrond menu
- Date: Mon, 30 Jul 2018 06:48:45 +0000 (UTC)
commit 19d13d1823a8f3e99c93249c08983568ac88b48d
Author: António Fernandes <antoniof gnome org>
Date: Sat Jul 28 12:28:33 2018 +0100
files-view: Use current-directory-properties on backgrond menu
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.
src/resources/ui/nautilus-files-view-context-menus.ui | 4 ++--
1 file 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..9f0d23860 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>
@@ -239,4 +239,4 @@
</item>
</section>
</menu>
-</interface>
+</interface>
\ No newline at end of file
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]