diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2018-02-21 11:11:41 +0100 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2018-02-21 11:12:02 +0100 |
commit | aeb1aeca6ee0f499872f9f165a01aacdcc6a1a75 (patch) | |
tree | aece31a41114528730b2a759c98d3e837782640d /kde-plasma | |
parent | mail-mta/postfix: bump to 3.3.0_rc2 (diff) | |
download | gentoo-aeb1aeca6ee0f499872f9f165a01aacdcc6a1a75.tar.gz gentoo-aeb1aeca6ee0f499872f9f165a01aacdcc6a1a75.tar.bz2 gentoo-aeb1aeca6ee0f499872f9f165a01aacdcc6a1a75.zip |
kde-plasma/kscreenlocker: Add missing patch
Closes: https://bugs.gentoo.org/648352
Package-Manager: Portage-2.3.19, Repoman-2.3.6
Diffstat (limited to 'kde-plasma')
-rw-r--r-- | kde-plasma/kscreenlocker/files/kscreenlocker-consolekit-unlock.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/kde-plasma/kscreenlocker/files/kscreenlocker-consolekit-unlock.patch b/kde-plasma/kscreenlocker/files/kscreenlocker-consolekit-unlock.patch new file mode 100644 index 000000000000..b0e4011d2b88 --- /dev/null +++ b/kde-plasma/kscreenlocker/files/kscreenlocker-consolekit-unlock.patch @@ -0,0 +1,13 @@ +--- a/abstractlocker.cpp ++++ b/abstractlocker.cpp +@@ -52,9 +52,8 @@ void BackgroundWindow::paintEvent(QPaintEvent* ) + auto text = ki18n("The screen locker is broken and unlocking is not possible anymore.\n" + "In order to unlock switch to a virtual terminal (e.g. Ctrl+Alt+F2),\n" + "log in and execute the command:\n\n" +- "loginctl unlock-session %1\n\n" ++ "ck-unlock-session\n\n" + "Afterwards switch back to the running session (Ctrl+Alt+F%2)."); +- text = text.subs(QString::fromLocal8Bit(qgetenv("XDG_SESSION_ID"))); + text = text.subs(QString::fromLocal8Bit(qgetenv("XDG_VTNR"))); + p.setPen(Qt::white); + QFont f = p.font(); |