commit
06d3bb2b7a
26
0002-fix-ukui-screensaver-dialog-lock.patch
Normal file
26
0002-fix-ukui-screensaver-dialog-lock.patch
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
From 39459bf543d45644426885ae98641fa26ea0ab55 Mon Sep 17 00:00:00 2001
|
||||||
|
From: lvhan <lvhan@kylinos.cn>
|
||||||
|
Date: Wed, 13 Jan 2021 14:31:46 +0800
|
||||||
|
Subject: [PATCH] fix-ukui-screensaver-dialog--lock
|
||||||
|
|
||||||
|
---
|
||||||
|
src/ukui-screensaver-dialog.cpp | 3 ++-
|
||||||
|
1 file changed, 2 insertions(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/src/ukui-screensaver-dialog.cpp b/src/ukui-screensaver-dialog.cpp
|
||||||
|
index 2baad4b..237b377 100644
|
||||||
|
--- a/src/ukui-screensaver-dialog.cpp
|
||||||
|
+++ b/src/ukui-screensaver-dialog.cpp
|
||||||
|
@@ -174,7 +174,8 @@ int main(int argc, char *argv[])
|
||||||
|
|
||||||
|
if(parser.isSet(lockOption))
|
||||||
|
{
|
||||||
|
- window->lock();
|
||||||
|
+ // window->lock();
|
||||||
|
+ window->onScreensaver();
|
||||||
|
}
|
||||||
|
|
||||||
|
if(parser.isSet(sessionIdleOption))
|
||||||
|
--
|
||||||
|
2.29.2.windows.2
|
||||||
|
|
||||||
@ -1,6 +1,6 @@
|
|||||||
Name: ukui-screensaver
|
Name: ukui-screensaver
|
||||||
Version: 3.0.1
|
Version: 3.0.1
|
||||||
Release: 2
|
Release: 3
|
||||||
Summary: parallels toolbox for UKUI
|
Summary: parallels toolbox for UKUI
|
||||||
License: GPL-3+ GPL-2+
|
License: GPL-3+ GPL-2+
|
||||||
URL: http://www.ukui.org
|
URL: http://www.ukui.org
|
||||||
@ -27,6 +27,7 @@ Requires: gsettings-qt-devel
|
|||||||
Requires: dconf-devel
|
Requires: dconf-devel
|
||||||
|
|
||||||
patch0: 0001-fix-icon-misplaced.patch
|
patch0: 0001-fix-icon-misplaced.patch
|
||||||
|
patch1: 0002-fix-ukui-screensaver-dialog-lock.patch
|
||||||
|
|
||||||
%description
|
%description
|
||||||
The ukui-sidebar is mainly used in the desktop operating system.
|
The ukui-sidebar is mainly used in the desktop operating system.
|
||||||
@ -37,6 +38,7 @@ patch0: 0001-fix-icon-misplaced.patch
|
|||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
%patch0 -p1
|
%patch0 -p1
|
||||||
|
%patch1 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
cmake .
|
cmake .
|
||||||
@ -65,6 +67,9 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
#%%{_datadir}/ukui-screensaver/screensaver-en.ini
|
#%%{_datadir}/ukui-screensaver/screensaver-en.ini
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Jan 13 2021 lvhan <lvhan@kylinos.cn> - 3.0.1-3
|
||||||
|
- 0002-fix-ukui-screensaver-dialog-lock.patch
|
||||||
|
|
||||||
* Wed Dec 9 2020 lvhan <lvhan@kylinos.cn> - 3.0.1-2
|
* Wed Dec 9 2020 lvhan <lvhan@kylinos.cn> - 3.0.1-2
|
||||||
- 0001-fix-icon-misplaced.patch
|
- 0001-fix-icon-misplaced.patch
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user