fix the backlight of nightmode button

(cherry picked from commit 371e9b57b6eeea596ae64b27afc79b6934debee9)
This commit is contained in:
peijiankang 2023-03-16 16:29:58 +08:00 committed by openeuler-sync-bot
parent 22a638f7fa
commit e1c7631f2b
2 changed files with 31 additions and 1 deletions

View File

@ -0,0 +1,25 @@
From f55995216f816ab8b8e61e82b83f81485348f6b7 Mon Sep 17 00:00:00 2001
From: peijiankang <peijiankang@kylinos.cn>
Date: Thu, 16 Mar 2023 17:24:20 +0800
Subject: [PATCH] fix the backlight of nightmode button
---
panel/img/nightmode-light.svg | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/panel/img/nightmode-light.svg b/panel/img/nightmode-light.svg
index b1cc251..ffd17f3 100644
--- a/panel/img/nightmode-light.svg
+++ b/panel/img/nightmode-light.svg
@@ -3,7 +3,7 @@
<svg version="1.1" id="图层_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
viewBox="0 0 24 24" style="enable-background:new 0 0 24 24;" xml:space="preserve">
<style type="text/css">
- .st0{fill:#FFFFFF;}
+ .st0{fill:#333333;}
</style>
<g>
<g>
--
2.39.1

View File

@ -1,6 +1,6 @@
Name: ukui-panel
Version: 3.1.0
Release: 7
Release: 8
Summary: ukui desktop panel
License: LGPL-2.0-or-later and GPL-2.0-or-later and BSD
URL: http://www.ukui.org
@ -8,6 +8,7 @@ Source0: %{name}-%{version}.tar.gz
Patch01: 0001-fix-translation-problem-of-ukui-panel.patch
Patch02: 0002-fix-translation-of-calendar.patch
Patch03: 0003-fix-nightnode-button-nodisplay.patch
Patch04: 0004-fix-the-backlight-of-nightmode-button.patch
BuildRequires: cmake
BuildRequires: alsa-lib-devel
@ -58,6 +59,7 @@ Recommends: time-shutdown
%patch01 -p1
%patch02 -p1
%patch03 -p1
%patch04 -p1
%build
mkdir build && cd build
@ -80,6 +82,9 @@ rm -rf $RPM_BUILD_ROOT
%{_datadir}/*
%changelog
* Thu Mar 16 2023 peijiankang <peijiankang@kylinos.cn> - 3.1.0-8
- fix the backlight of nightmode button
* Tue Feb 07 2023 tanyulong <tanyulong@kylinos.cn> - 3.1.0-7
- Enable debuginfo for fix strip