diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 17:39:48 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 17:39:48 +0000 |
commit | 3ade071f273aaa973e44bf95d6b1d4913a18f03b (patch) | |
tree | e2f99d267ae18427645404f215b984afbe73098d /src/resources/ui/nautilus-toolbar-view-menu.ui | |
parent | Initial commit. (diff) | |
download | nautilus-3ade071f273aaa973e44bf95d6b1d4913a18f03b.tar.xz nautilus-3ade071f273aaa973e44bf95d6b1d4913a18f03b.zip |
Adding upstream version 43.2.upstream/43.2upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r-- | src/resources/ui/nautilus-toolbar-view-menu.ui | 63 |
1 files changed, 63 insertions, 0 deletions
diff --git a/src/resources/ui/nautilus-toolbar-view-menu.ui b/src/resources/ui/nautilus-toolbar-view-menu.ui new file mode 100644 index 0000000..ffdd3ac --- /dev/null +++ b/src/resources/ui/nautilus-toolbar-view-menu.ui @@ -0,0 +1,63 @@ +<?xml version="1.0" encoding="UTF-8"?> +<interface> + <requires lib="gtk" version="4.0"/> + <menu id="sort_section"> + <item> + <attribute name="action">view.sort</attribute> + <attribute name="target" type="(sb)">('name',false)</attribute> + <attribute name="label" translatable="yes" context="Sort Criterion" comments="This is used to sort by name in the toolbar view menu">_A-Z</attribute> + <attribute name="hidden-when">action-disabled</attribute> + </item> + <item> + <attribute name="action">view.sort</attribute> + <attribute name="target" type="(sb)">('name',true)</attribute> + <attribute name="label" translatable="yes" context="Sort Criterion" comments="This is used to sort by name, in descending order in the toolbar view menu">_Z-A</attribute> + <attribute name="hidden-when">action-disabled</attribute> + </item> + <item> + <attribute name="action">view.sort</attribute> + <attribute name="target" type="(sb)">('date_modified',true)</attribute> + <attribute name="label" translatable="yes">Last _Modified</attribute> + <attribute name="hidden-when">action-disabled</attribute> + </item> + <item> + <attribute name="action">view.sort</attribute> + <attribute name="target" type="(sb)">('date_modified',false)</attribute> + <attribute name="label" translatable="yes">_First Modified</attribute> + <attribute name="hidden-when">action-disabled</attribute> + </item> + <item> + <attribute name="action">view.sort</attribute> + <attribute name="target" type="(sb)">('size',true)</attribute> + <attribute name="label" translatable="yes">_Size</attribute> + <attribute name="hidden-when">action-disabled</attribute> + </item> + <item> + <attribute name="action">view.sort</attribute> + <attribute name="target" type="(sb)">('type',false)</attribute> + <attribute name="label" translatable="yes">_Type</attribute> + <attribute name="hidden-when">action-disabled</attribute> + </item> + <item> + <attribute name="action">view.sort</attribute> + <attribute name="target" type="(sb)">('trashed_on',true)</attribute> + <attribute name="label" translatable="yes">Last _Trashed</attribute> + <attribute name="hidden-when">action-disabled</attribute> + <attribute name="nautilus-menu-item">last_trashed</attribute> + </item> + <item> + <attribute name="action">view.sort</attribute> + <attribute name="target" type="(sb)">('recency',true)</attribute> + <attribute name="label" translatable="yes">Recency</attribute> + <attribute name="hidden-when">action-disabled</attribute> + <attribute name="nautilus-menu-item">recency</attribute> + </item> + <item> + <attribute name="action">view.sort</attribute> + <attribute name="target" type="(sb)">('search_relevance',true)</attribute> + <attribute name="label" translatable="yes">Relevance</attribute> + <attribute name="hidden-when">action-disabled</attribute> + <attribute name="nautilus-menu-item">relevance</attribute> + </item> + </menu> +</interface> |