[nautilus/1472-extract-compress-menu-items-are-hidden-if-extension-menu-items-present] files-view: Add Extract/Compress menu section
- From: António Fernandes <antoniof src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus/1472-extract-compress-menu-items-are-hidden-if-extension-menu-items-present] files-view: Add Extract/Compress menu section
- Date: Tue, 8 Sep 2020 19:01:53 +0000 (UTC)
commit 0b65c9d29c363f10b387f76fb9ddc61d54a58e93
Author: António Fernandes <antoniof gnome org>
Date: Tue Sep 8 19:30:05 2020 +0100
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
src/resources/ui/nautilus-files-view-context-menus.ui | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
---
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>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]