From c1ca8dac047b40ed6729fcb7c1bc72452c043972 Mon Sep 17 00:00:00 2001 From: zhuhongbo Date: Thu, 26 Jun 2025 13:51:38 +0800 Subject: [PATCH] hide button Find more in App Store --- 0001-hide-button-Find-more-in-App-Store.patch | 25 +++++++++++++++++++ deepin-fcitxconfigtool-plugin.spec | 7 +++++- 2 files changed, 31 insertions(+), 1 deletion(-) create mode 100644 0001-hide-button-Find-more-in-App-Store.patch diff --git a/0001-hide-button-Find-more-in-App-Store.patch b/0001-hide-button-Find-more-in-App-Store.patch new file mode 100644 index 0000000..588f23f --- /dev/null +++ b/0001-hide-button-Find-more-in-App-Store.patch @@ -0,0 +1,25 @@ +From dd1b9305a7479d8fe31e0870732949bac8d5ff80 Mon Sep 17 00:00:00 2001 +From: ut005731 +Date: Thu, 26 Jun 2025 13:35:42 +0800 +Subject: [PATCH] hide button Find more in App Store + +--- + src/window/imaddwindow.cpp | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/src/window/imaddwindow.cpp b/src/window/imaddwindow.cpp +index fcc5686..7863c34 100644 +--- a/src/window/imaddwindow.cpp ++++ b/src/window/imaddwindow.cpp +@@ -79,6 +79,7 @@ void IMAddWindow::initUI() + hlayout3->addStretch(); + m_storeBtn = new DCommandLinkButton(tr("Find more in App Store"), this); + m_storeBtn->setAccessibleName("Find more in App Store"); ++ m_storeBtn->hide(); + hlayout3->addWidget(m_storeBtn); + hlayout3->addSpacing(10); + //添加 取消按钮 +-- +2.41.0 + + diff --git a/deepin-fcitxconfigtool-plugin.spec b/deepin-fcitxconfigtool-plugin.spec index e94013e..99b9c82 100644 --- a/deepin-fcitxconfigtool-plugin.spec +++ b/deepin-fcitxconfigtool-plugin.spec @@ -1,4 +1,4 @@ -%define anolis_release 3 +%define anolis_release 4 %{!?_vpath_builddir:%global _vpath_builddir %{_target_platform}} %global _enable_debug_package 0 @@ -16,6 +16,7 @@ URL: https://fcitx-im.org/wiki/Fcitx Source0: %{name}-%{version}.tar.xz #add for uos Patch0: fix-195690-to-shield-partial-input_method.patch +Patch1: 0001-hide-button-Find-more-in-App-Store.patch BuildRequires: gcc-c++ BuildRequires: pango-devel, dbus-devel @@ -69,6 +70,7 @@ The %{name} package provides fcitx-config-tools and multilanguages translations %prep %setup -q %patch0 -p1 +%patch1 -p1 sed -i 's|"/usr/lib/dde-control-center"|#"/usr/lib/dde-control-center"|' src/CMakeLists.txt tests/CMakeLists.txt %build @@ -97,6 +99,9 @@ make %{?_smp_mflags} -C build/%{_vpath_builddir} %exclude %{_sysconfdir}/* %changelog +* Mon Jun 23 2025 zhuhongbo - 4.2.63-1.4 +- fix: hide button Find more in App Store + * Tue Nov 07 2023 yangxianzhao - 4.2.63-1.3 - rebuild for qt -- Gitee