summaryrefslogtreecommitdiff
path: root/src/resources/ui/nautilus-files-view-context-menus.ui
diff options
context:
space:
mode:
authorAntónio Fernandes <antoniof@gnome.org>2021-12-17 11:43:35 +0000
committerAntónio Fernandes <antoniof@gnome.org>2022-01-05 11:32:11 +0000
commita7983d7a00191717e940e3170a0a539714a5ecbd (patch)
tree2999e007a9d916062108eaca2a87fc30423a3104 /src/resources/ui/nautilus-files-view-context-menus.ui
parentf47f42715d75070dcbed46293c0c6ddd5f27a5c0 (diff)
downloadnautilus-a7983d7a00191717e940e3170a0a539714a5ecbd.tar.gz
files-view: Use popovers for context menus
GtkMenu is gone in GTK4. Prepare for the transition using GtkPopover. This is going to need design review after the GTK 4 switch, but it's good enough for the purpose of simplifying the switch. Closes https://gitlab.gnome.org/GNOME/nautilus/-/issues/738
Diffstat (limited to 'src/resources/ui/nautilus-files-view-context-menus.ui')
-rw-r--r--src/resources/ui/nautilus-files-view-context-menus.ui3
1 files changed, 2 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 ac29451a7..a951549ab 100644
--- a/src/resources/ui/nautilus-files-view-context-menus.ui
+++ b/src/resources/ui/nautilus-files-view-context-menus.ui
@@ -121,6 +121,7 @@
</item>
</section>
<section>
+ <attribute name="display-hint">horizontal-buttons</attribute>
<item>
<attribute name="label" translatable="yes">Cu_t</attribute>
<attribute name="action">view.cut</attribute>
@@ -129,13 +130,13 @@
<attribute name="label" translatable="yes">_Copy</attribute>
<attribute name="action">view.copy</attribute>
</item>
+ </section>
<section>
<item>
<attribute name="label" translatable="yes">Create _Link</attribute>
<attribute name="action">view.create-link-in-place</attribute>
<attribute name="hidden-when">action-disabled</attribute>
</item>
- </section>
<item>
<attribute name="label" translatable="yes">_Paste Into Folder</attribute>
<attribute name="action">view.paste-into</attribute>