diff options
author | António Fernandes <antoniof@gnome.org> | 2021-12-17 11:43:35 +0000 |
---|---|---|
committer | António Fernandes <antoniof@gnome.org> | 2022-01-05 11:32:11 +0000 |
commit | a7983d7a00191717e940e3170a0a539714a5ecbd (patch) | |
tree | 2999e007a9d916062108eaca2a87fc30423a3104 /src/resources/ui/nautilus-files-view-context-menus.ui | |
parent | f47f42715d75070dcbed46293c0c6ddd5f27a5c0 (diff) | |
download | nautilus-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.ui | 3 |
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> |