summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntónio Fernandes <antoniof@gnome.org>2020-09-08 19:30:05 +0100
committerAntónio Fernandes <antoniof@gnome.org>2020-09-08 19:30:05 +0100
commit0b65c9d29c363f10b387f76fb9ddc61d54a58e93 (patch)
tree976956162190b04a418369d651cf1108a40a9b00
parent831203e9512b29900e8095c91332b49bbbf97047 (diff)
downloadnautilus-0b65c9d29c363f10b387f76fb9ddc61d54a58e93.tar.gz
files-view: Add Extract/Compress menu section
"Extract Here", "Extract To…" and "Compress…" menu items are contained by the extensions menu section, despite not being an extension. This has worked fine until the extensions menu handling has been reworked in commit bd81bd895f15c7784a2487ea7d1006910ab0cb40 This commit introduced a regressions which causes the Extract/Compress items to disappear if actual extension menu items are added. Since it was already conceptually wrong to have them in this section, let's move these items into their own menu section to fix the bug. Fixes https://gitlab.gnome.org/GNOME/nautilus/-/issues/1472
-rw-r--r--src/resources/ui/nautilus-files-view-context-menus.ui4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/resources/ui/nautilus-files-view-context-menus.ui b/src/resources/ui/nautilus-files-view-context-menus.ui
index 5cbbabb21..6438314a7 100644
--- a/src/resources/ui/nautilus-files-view-context-menus.ui
+++ b/src/resources/ui/nautilus-files-view-context-menus.ui
@@ -193,7 +193,7 @@
<attribute name="hidden-when">action-disabled</attribute>
</item>
</section>
- <section id="selection-extensions-section">
+ <section>
<item>
<attribute name="label" translatable="yes">_Extract Here</attribute>
<attribute name="action">view.extract-here</attribute>
@@ -210,6 +210,8 @@
<attribute name="hidden-when">action-disabled</attribute>
</item>
</section>
+ <section id="selection-extensions-section">
+ </section>
<section>
<item>
<attribute name="label" translatable="yes">Tags</attribute>