modify icon theme not display
This commit is contained in:
parent
1f1d7062b4
commit
80bc87d7b1
28
0007-modify-icon-theme-not-display.patch
Normal file
28
0007-modify-icon-theme-not-display.patch
Normal file
@ -0,0 +1,28 @@
|
||||
From 0f33449dc1c22e97331265a6410e9a0a5466d39c Mon Sep 17 00:00:00 2001
|
||||
From: pei-jiankang <peijiankang@kylinos.cn>
|
||||
Date: Wed, 6 Apr 2022 17:29:15 +0800
|
||||
Subject: [PATCH] modify icon theme not display
|
||||
|
||||
---
|
||||
plugins/personalized/theme/theme.cpp | 5 +++--
|
||||
1 file changed, 3 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/plugins/personalized/theme/theme.cpp b/plugins/personalized/theme/theme.cpp
|
||||
index 893db27..59f66af 100644
|
||||
--- a/plugins/personalized/theme/theme.cpp
|
||||
+++ b/plugins/personalized/theme/theme.cpp
|
||||
@@ -443,8 +443,9 @@ void Theme::initIconTheme() {
|
||||
|
||||
foreach (QString themedir, themesDir.entryList(QDir::Dirs)) {
|
||||
|
||||
- if ((Utils::isCommunity() && (!themedir.compare("ukui") || !themedir.compare("ukui-classical")))
|
||||
- || (!Utils::isCommunity() && themedir.startsWith("ukui-icon-theme-"))) {
|
||||
+ if ((Utils::isCommunity() && (!themedir.compare("ukui") || !themedir.compare("ukui-classical")) )
|
||||
+ || (!Utils::isCommunity() && themedir.startsWith("ukui-icon-theme-"))
|
||||
+ || (!Utils::isCommunity() && (!themedir.compare("ukui") || !themedir.compare("ukui-classical") || !themedir.compare("ukui-fashion")))) {
|
||||
QDir appsDir = QDir(ICONTHEMEPATH + themedir + "/48x48/apps/");
|
||||
QDir placesDir = QDir(ICONTHEMEPATH + themedir + "/48x48/places/");
|
||||
QDir devicesDir = QDir(ICONTHEMEPATH + themedir + "/48x48/devices/");
|
||||
--
|
||||
2.33.0
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
%define debug_package %{nil}
|
||||
Name: ukui-control-center
|
||||
Version: 3.0.4
|
||||
Release: 8
|
||||
Release: 9
|
||||
Summary: utilities to configure the UKUI desktop
|
||||
License: GPL-2+
|
||||
URL: http://www.ukui.org
|
||||
@ -12,6 +12,7 @@ Patch03: 0003-fix-power-missing-issue.patch
|
||||
Patch04: 0004-disable-the-str-of-password-check.patch
|
||||
Patch05: 0005-Fix-the-problem-of-displaying-none-in-the-interface-version-information.patch
|
||||
Patch06: 0006-fix-the-problem-that-the-new-user-in-the-control-panel-is-stuck.patch
|
||||
Patch07: 0007-modify-icon-theme-not-display.patch
|
||||
|
||||
BuildRequires: qt5-qtsvg-devel
|
||||
BuildRequires: qt5-qtbase-devel
|
||||
@ -115,6 +116,7 @@ Suggests: ukui-settings-daemon
|
||||
%patch4 -p1
|
||||
%patch5 -p1
|
||||
%patch6 -p1
|
||||
%patch7 -p1
|
||||
|
||||
%build
|
||||
qmake-qt5
|
||||
@ -163,6 +165,9 @@ rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
|
||||
%changelog
|
||||
* Wed Apr 6 2022 pei-jiankang <peijiankang@kylinos.cn> - 3.0.4-9
|
||||
- modify icon theme not display
|
||||
|
||||
* Fri Mar 11 2022 huayadong <huayadong@kylinos.cn> - 3.0.4-8
|
||||
- add patch6: 0006-fix-the-problem-that-the-new-user-in-the-control-panel-is-stuck.patch
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user