diff --git a/nautilus.spec b/nautilus.spec index 3fc749b..695ff06 100644 --- a/nautilus.spec +++ b/nautilus.spec @@ -1,6 +1,6 @@ Name: nautilus Version: 3.33.90 -Release: 7 +Release: 8 Summary: Default file manager for GNOME License: GPLv3+ and LGPLv2+ URL: https://wiki.gnome.org/Apps/Nautilus @@ -19,6 +19,7 @@ Patch01: nautius-3.33.90-translate-information-to-chinese.patch Patch02: nautius-3.33.90-translate-English-tips-information-to-chinese.patch Patch03: nautius-3.33.90-display-tooltip-content.patch Patch04: nautius-3.33.90-translate-general-and-show-sidebar.patch +Patch05: nautius-3.33.90-Add-right-click-sort-function.patch %description It's easier to manage your files for the GNOME desktop. Ability to browse directories on local and remote systems. @@ -84,6 +85,12 @@ make test %{_datadir}/metainfo/* %changelog +* Thu Dec 15 2022 Guangzhong Yao - 3.33.90-8 +- Type:bugfix +- Id:NA +- SUG:NA +- DESC: Add right click sort function + * Wed Dec 14 2022 Guangzhong Yao - 3.33.90-7 - Type:bugfix - Id:NA diff --git a/nautius-3.33.90-Add-right-click-sort-function.patch b/nautius-3.33.90-Add-right-click-sort-function.patch new file mode 100644 index 0000000..22ec1e8 --- /dev/null +++ b/nautius-3.33.90-Add-right-click-sort-function.patch @@ -0,0 +1,77 @@ +From 2eb3624defd4d764a24c2fd6431ca01f152eaefc Mon Sep 17 00:00:00 2001 +From: yangzhuangzhuang +Date: Fri, 26 Aug 2022 12:02:05 +0800 +Subject: [PATCH] Add right-click sort function + +--- + po/zh_CN.po | 3 ++ + .../ui/nautilus-files-view-context-menus.ui | 37 ++++++++++++++++++- + 2 files changed, 39 insertions(+), 1 deletion(-) + +diff --git a/po/zh_CN.po b/po/zh_CN.po +index 55ce692..7b484cf 100644 +--- a/po/zh_CN.po ++++ b/po/zh_CN.po +@@ -5884,3 +5884,6 @@ msgstr "常规" + + msgid "_Show sidebar" + msgstr "显示侧边栏(S)" ++ ++msgid "Sort" ++msgstr "排序" +diff --git a/src/resources/ui/nautilus-files-view-context-menus.ui b/src/resources/ui/nautilus-files-view-context-menus.ui +index 9f0d238..c9de20e 100644 +--- a/src/resources/ui/nautilus-files-view-context-menus.ui ++++ b/src/resources/ui/nautilus-files-view-context-menus.ui +@@ -11,6 +11,41 @@ + view.new-document + action-disabled + ++ ++ Sort ++
++ ++ _A-Z ++ view.sort ++ name ++ ++ ++ _Z-A ++ view.sort ++ name-desc ++ ++ ++ Last _Modified ++ view.sort ++ modification-date-desc ++ ++ ++ _First Modified ++ view.sort ++ modification-date ++ ++ ++ _Size ++ view.sort ++ size ++ ++ ++ _Type ++ view.sort ++ type ++ ++
++
+
+ + _Paste +@@ -239,4 +274,4 @@ + +
+ +- +\ No newline at end of file ++ +-- +2.27.0 +