Projects
home:Eustace:branches:Eulaceura:Factory
ukui-screensaver
_service:obs_scm:disable-Suspend-and-Sleep-of-u...
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:obs_scm:disable-Suspend-and-Sleep-of-ukui-screensaver.patch of Package ukui-screensaver
From b38417c0327894a8165a9ea7eda7db4cbf01531a Mon Sep 17 00:00:00 2001 From: peijiankang <peijiankang@kylinos.cn> Date: Wed, 14 Jun 2023 15:55:43 +0800 Subject: [PATCH] disable Suspend and Sleep of ukui-screensaver --- src/powermanager.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/powermanager.cpp b/src/powermanager.cpp index 5b3a23f..e854112 100644 --- a/src/powermanager.cpp +++ b/src/powermanager.cpp @@ -59,7 +59,7 @@ PowerManager::PowerManager(QWidget *parent) "org.gnome.SessionManager", QDBusConnection::sessionBus(), this); - +/* loginInterface = new QDBusInterface(login1Service, login1Path, login1ManagerInterface, @@ -79,7 +79,9 @@ PowerManager::PowerManager(QWidget *parent) }else{ canHibernate = false; } - +*/ + canSuspend = false; + canHibernate = false; initUI(); resize((ITEM_WIDTH+ITEM_SPACING*2)*this->count()-ITEM_SPACING*2, ITEM_HEIGHT+ITEM_SPACING*2); //setCurrentRow(0); -- 2.33.0
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2