diff --git a/005-fix-view-refresh.patch b/005-fix-view-refresh.patch new file mode 100644 index 0000000000000000000000000000000000000000..51a17181ee7664c908da02e61c3d717718da1062 --- /dev/null +++ b/005-fix-view-refresh.patch @@ -0,0 +1,31 @@ +From 743958e6774a934ba7f9c3f554c3062ed6ce45ba Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?=E5=BC=A0=E6=B6=9B?= +Date: Thu, 19 Oct 2023 13:34:33 +0800 +Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E6=96=87=E4=BB=B6?= + =?UTF-8?q?=E7=AE=A1=E7=90=86=E5=99=A8=E5=88=A0=E9=99=A4/=E6=96=B0?= + =?UTF-8?q?=E5=BB=BA=E6=96=87=E4=BB=B6=E4=B8=8D=E4=BC=9A=E5=AE=9E=E6=97=B6?= + =?UTF-8?q?=E5=88=B7=E6=96=B0=E7=9A=84=E9=97=AE=E9=A2=98?= +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +--- + src/nemo-icon-view.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/nemo-icon-view.c b/src/nemo-icon-view.c +index b7fa512..c20d4c7 100644 +--- a/src/nemo-icon-view.c ++++ b/src/nemo-icon-view.c +@@ -262,7 +262,7 @@ nemo_icon_view_supports_manual_layout (NemoIconView *view) + { + g_return_val_if_fail (NEMO_IS_ICON_VIEW (view), FALSE); + +- return !nemo_icon_view_is_compact (view); ++ return !nemo_icon_view_is_compact (view) && view->details->is_desktop; + } + + static void +-- +2.30.2 + diff --git a/nemo.spec b/nemo.spec index 26f961ff59e55e041c1d0fd4812df2f0b4098e01..167d6862f2af7dc6e4988062b1a6831fe4348d2f 100644 --- a/nemo.spec +++ b/nemo.spec @@ -1,7 +1,7 @@ Name: nemo Summary: File manager and graphical shell for Cinnamon. Version: 4.8.6 -Release: 5%{?dist} +Release: 6%{?dist} License: GPLv2+ and LGPLv2+ URL: https://github.com/linuxmint/%{name} Source0: %{name}-%{version}.tar.gz @@ -11,6 +11,7 @@ Patch0: 001-fix-icon-text-width-largest.patch Patch1: 002-fix-rename-selected-item.patch Patch2: 003-fix-query-editor-changed.patch Patch3: 004-fix-desktop-pop-up-context-menu.patch +Patch4: 005-fix-view-refresh.patch BuildRequires: meson BuildRequires: intltool @@ -156,6 +157,10 @@ install -m 644 data/nemo.conf %{buildroot}%{_sysconfdir}/rsyslog.d/nemo.conf #/usr/share/python3/runtime.d/nemo-data.rtupdate %changelog +* Thu Oct 19 2023 张涛 - 4.8.6-6 +- fix: 修复文件管理器删除/新建文件不会实时刷新的问题 +- add patch: 005-fix-view-refresh.patch + * Thu Oct 19 2023 张涛 - 4.8.6-5 - fix: 修复系统字体由大变小后,桌面右键菜单下方出现大量空白 - add patch: 004-fix-desktop-pop-up-context-menu.patch