fix nightnode button nodisplay
This commit is contained in:
parent
2ccb27177b
commit
c8a741dafa
31
0003-fix-nightnode-button-nodisplay.patch
Normal file
31
0003-fix-nightnode-button-nodisplay.patch
Normal file
@ -0,0 +1,31 @@
|
|||||||
|
From 70d2c46fb369b4905be2d71c9f3cb581d83f2ddd Mon Sep 17 00:00:00 2001
|
||||||
|
From: peijiankang <peijiankang@kylinos.cn>
|
||||||
|
Date: Tue, 31 Jan 2023 17:30:13 +0800
|
||||||
|
Subject: [PATCH] fix nightnode button nodisplay
|
||||||
|
|
||||||
|
---
|
||||||
|
plugin-nightmode/nightmode.cpp | 8 --------
|
||||||
|
1 file changed, 8 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/plugin-nightmode/nightmode.cpp b/plugin-nightmode/nightmode.cpp
|
||||||
|
index 827bb02..a833b50 100644
|
||||||
|
--- a/plugin-nightmode/nightmode.cpp
|
||||||
|
+++ b/plugin-nightmode/nightmode.cpp
|
||||||
|
@@ -115,14 +115,6 @@ NightModeButton::NightModeButton( IUKUIPanelPlugin *plugin, QWidget* parent):
|
||||||
|
m_gtkstyleGsettings = new QGSettings(gtkstyleid);
|
||||||
|
}
|
||||||
|
|
||||||
|
- QDBusInterface iproperty("org.ukui.KWin",
|
||||||
|
- "/ColorCorrect",
|
||||||
|
- "org.ukui.kwin.ColorCorrect",
|
||||||
|
- QDBusConnection::sessionBus());
|
||||||
|
-
|
||||||
|
- if (!iproperty.isValid()) {
|
||||||
|
- this->setVisible(false);
|
||||||
|
- }
|
||||||
|
QDBusConnection::sessionBus().connect(QString(),
|
||||||
|
QString("/ColorCorrect"),
|
||||||
|
"org.ukui.kwin.ColorCorrect",
|
||||||
|
--
|
||||||
|
2.33.0
|
||||||
|
|
||||||
@ -2,13 +2,14 @@
|
|||||||
|
|
||||||
Name: ukui-panel
|
Name: ukui-panel
|
||||||
Version: 3.1.0
|
Version: 3.1.0
|
||||||
Release: 5
|
Release: 6
|
||||||
Summary: ukui desktop panel
|
Summary: ukui desktop panel
|
||||||
License: LGPL-2.0-or-later and GPL-2.0-or-later and BSD
|
License: LGPL-2.0-or-later and GPL-2.0-or-later and BSD
|
||||||
URL: http://www.ukui.org
|
URL: http://www.ukui.org
|
||||||
Source0: %{name}-%{version}.tar.gz
|
Source0: %{name}-%{version}.tar.gz
|
||||||
Patch01: 0001-fix-translation-problem-of-ukui-panel.patch
|
Patch01: 0001-fix-translation-problem-of-ukui-panel.patch
|
||||||
Patch02: 0002-fix-translation-of-calendar.patch
|
Patch02: 0002-fix-translation-of-calendar.patch
|
||||||
|
Patch03: 0003-fix-nightnode-button-nodisplay.patch
|
||||||
|
|
||||||
BuildRequires: cmake
|
BuildRequires: cmake
|
||||||
BuildRequires: alsa-lib-devel
|
BuildRequires: alsa-lib-devel
|
||||||
@ -61,6 +62,7 @@ Recommends: time-shutdown
|
|||||||
%setup -q
|
%setup -q
|
||||||
%patch01 -p1
|
%patch01 -p1
|
||||||
%patch02 -p1
|
%patch02 -p1
|
||||||
|
%patch03 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
mkdir build && cd build
|
mkdir build && cd build
|
||||||
@ -83,6 +85,9 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%{_datadir}/*
|
%{_datadir}/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Jan 31 2023 peijiankang <peijiankang@kylinos.cn> - 3.1.0-6
|
||||||
|
- fix nightnode button nodisplay
|
||||||
|
|
||||||
* Tue Jan 17 2023 peijiankang <peijiankang@kylinos.cn> - 3.1.0-5
|
* Tue Jan 17 2023 peijiankang <peijiankang@kylinos.cn> - 3.1.0-5
|
||||||
- fix translation of calendar
|
- fix translation of calendar
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user