diff options
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> |