From c60e4efeb6a619a9ba604869e108a3ce3f741698 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E6=B6=9B?= Date: Thu, 19 Oct 2023 15:52:25 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=88=87=E6=8D=A2=E8=87=AA=E5=AE=9A?= =?UTF-8?q?=E4=B9=89=E7=9A=84=E8=83=8C=E6=99=AF,=E4=BB=8E=E7=AA=97?= =?UTF-8?q?=E5=8F=A3=E7=82=B9=E5=87=BB=E6=A1=8C=E9=9D=A2=E7=9A=84=E5=9B=BE?= =?UTF-8?q?=E7=89=87=E6=96=87=E4=BB=B6=E5=A4=B9,Gif=E5=92=8CTiff=E6=A6=82?= =?UTF-8?q?=E7=8E=87=E5=8D=A1=E9=A1=BF,=E9=9C=80=E8=A6=81=E5=8D=A110?= =?UTF-8?q?=E7=A7=92=E5=B7=A6=E5=8F=B3=E6=89=8D=E8=BF=9B=E5=85=A5=E6=96=87?= =?UTF-8?q?=E4=BB=B6=E5=A4=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 0006-fix-background-choose.patch | 34 ++++++++++++++++++++++++++++++++ found-control-center.spec | 7 ++++++- 2 files changed, 40 insertions(+), 1 deletion(-) create mode 100644 0006-fix-background-choose.patch diff --git a/0006-fix-background-choose.patch b/0006-fix-background-choose.patch new file mode 100644 index 0000000..3368134 --- /dev/null +++ b/0006-fix-background-choose.patch @@ -0,0 +1,34 @@ +From 75ee627b847f035f542a734facbfd914178a118b Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?=E5=BC=A0=E6=B6=9B?= +Date: Thu, 19 Oct 2023 15:01:04 +0800 +Subject: [PATCH] =?UTF-8?q?fix:=20=E5=88=87=E6=8D=A2=E8=87=AA=E5=AE=9A?= + =?UTF-8?q?=E4=B9=89=E7=9A=84=E8=83=8C=E6=99=AF,=E4=BB=8E=E7=AA=97?= + =?UTF-8?q?=E5=8F=A3=E7=82=B9=E5=87=BB=E6=A1=8C=E9=9D=A2=E7=9A=84=E5=9B=BE?= + =?UTF-8?q?=E7=89=87=E6=96=87=E4=BB=B6=E5=A4=B9,Gif=E5=92=8CTiff=E6=A6=82?= + =?UTF-8?q?=E7=8E=87=E5=8D=A1=E9=A1=BF,=E9=9C=80=E8=A6=81=E5=8D=A110?= + =?UTF-8?q?=E7=A7=92=E5=B7=A6=E5=8F=B3=E6=89=8D=E8=BF=9B=E5=85=A5=E6=96=87?= + =?UTF-8?q?=E4=BB=B6=E5=A4=B9?= +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +--- + panels/background/cc-background-chooser.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/panels/background/cc-background-chooser.c b/panels/background/cc-background-chooser.c +index 54c238d..cf4ae13 100644 +--- a/panels/background/cc-background-chooser.c ++++ b/panels/background/cc-background-chooser.c +@@ -263,7 +263,7 @@ on_file_chooser_selection_changed_cb (GtkFileChooser *chooser, + if (file_info && g_file_info_get_file_type (file_info) != G_FILE_TYPE_DIRECTORY) + mime_type = g_strdup (g_file_info_get_content_type (file_info)); + +- if (mime_type) ++ if (mime_type && strstr (mime_type, "gif") == NULL && strstr (mime_type, "tiff") == NULL) + { + pixbuf = gnome_desktop_thumbnail_factory_generate_thumbnail (thumbnail_factory, + uri, +-- +2.30.2 + diff --git a/found-control-center.spec b/found-control-center.spec index 0a8d1b9..113c494 100644 --- a/found-control-center.spec +++ b/found-control-center.spec @@ -9,7 +9,7 @@ Name: found-control-center Version: 3.38.4 -Release: 7%{?dist} +Release: 8%{?dist} Summary: Utilities to configure the GNOME desktop License: GPLv2+ and CC-BY-SA @@ -21,6 +21,7 @@ Patch1: 0002-remove-some-files.patch Patch2: 0003-fix-network-connection-status.patch Patch3: 0004-fix-network-ip4-ip6-page.patch Patch4: 0005-fix-user-accounts-passwd-used.patch +Patch5: 0006-fix-background-choose.patch BuildRequires: pkgconfig(accountsservice) BuildRequires: desktop-file-utils @@ -178,6 +179,10 @@ The %{name}-data package contains libraries and header files for developing appl %{_datadir}/pkgconfig/gnome-keybindings.pc %changelog +* Thu Oct 19 2023 张涛 - 3.38.4-8 +- fix: 切换自定义的背景,从窗口点击桌面的图片文件夹,Gif和Tiff概率卡顿,需要卡10秒左右才进入文件夹 +- add patch: 0006-fix-background-choose.patch + * Thu Oct 19 2023 张涛 - 3.38.4-7 - fix: 修改最近使用过的密码判断 - add patch: 0005-fix-user-accounts-passwd-used.patch -- Gitee