From c59b01e27981009fc51efc26e6dc4f5afc8381fe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E6=B6=9B?= Date: Thu, 19 Oct 2023 16:38:19 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E4=BB=BB=E4=BD=95?= =?UTF-8?q?=E6=9D=A1=E4=BB=B6=E4=B8=8B=EF=BC=8C=E7=AC=AC=E4=B8=80=E6=AC=A1?= =?UTF-8?q?=E6=90=9C=E7=B4=A2=E9=83=BD=E6=9F=A5=E4=B8=8D=E5=87=BA=E7=BB=93?= =?UTF-8?q?=E6=9E=9C=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 003-fix-query-editor-changed.patch | 34 ++++++++++++++++++++++++++++++ nemo.spec | 7 +++++- 2 files changed, 40 insertions(+), 1 deletion(-) create mode 100644 003-fix-query-editor-changed.patch diff --git a/003-fix-query-editor-changed.patch b/003-fix-query-editor-changed.patch new file mode 100644 index 0000000..4a58837 --- /dev/null +++ b/003-fix-query-editor-changed.patch @@ -0,0 +1,34 @@ +From ea356a574edb1c7c7094b61839e003f6fb6392aa Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?=E5=BC=A0=E6=B6=9B?= +Date: Thu, 19 Oct 2023 13:20:24 +0800 +Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E4=BB=BB=E4=BD=95?= + =?UTF-8?q?=E6=9D=A1=E4=BB=B6=E4=B8=8B=EF=BC=8C=E7=AC=AC=E4=B8=80=E6=AC=A1?= + =?UTF-8?q?=E6=90=9C=E7=B4=A2=E9=83=BD=E6=9F=A5=E4=B8=8D=E5=87=BA=E7=BB=93?= + =?UTF-8?q?=E6=9E=9C=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-window-slot.c | 5 ++--- + 1 file changed, 2 insertions(+), 3 deletions(-) + +diff --git a/src/nemo-window-slot.c b/src/nemo-window-slot.c +index f8ae995..f066c67 100644 +--- a/src/nemo-window-slot.c ++++ b/src/nemo-window-slot.c +@@ -147,9 +147,8 @@ query_editor_changed_callback (NemoQueryEditor *editor, + create_new_search (slot); + /* Focus is now on the new slot, move it back to query_editor */ + gtk_widget_grab_focus (GTK_WIDGET (slot->query_editor)); +- } else { +- sync_search_directory (slot); +- } ++ } ++ sync_search_directory (slot); + + nemo_directory_unref (directory); + } +-- +2.30.2 + diff --git a/nemo.spec b/nemo.spec index 968905c..3225d8d 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: 3%{?dist} +Release: 4%{?dist} License: GPLv2+ and LGPLv2+ URL: https://github.com/linuxmint/%{name} Source0: %{name}-%{version}.tar.gz @@ -9,6 +9,7 @@ Source1: nemo.lintian-overrides Patch0: 001-fix-icon-text-width-largest.patch Patch1: 002-fix-rename-selected-item.patch +Patch2: 003-fix-query-editor-changed.patch BuildRequires: meson BuildRequires: intltool @@ -154,6 +155,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-4 +- fix: 修复任何条件下,第一次搜索都查不出结果的问题 +- add patch: 003-fix-query-editor-changed.patch + * Thu Oct 19 2023 张涛 - 4.8.6-3 - fix: 修复重命名后,切换视图模式,再次重命名时输入框大小有误的问题 - add patch: 002-fix-rename-selected-item.patch -- Gitee