[gnome-shell/T29763: 187/249] fixup! payg: Add a new screen to allow unlocking PAYG machines
- From: Matthew Leeds <mwleeds src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell/T29763: 187/249] fixup! payg: Add a new screen to allow unlocking PAYG machines
- Date: Thu, 21 May 2020 18:24:55 +0000 (UTC)
commit ddc404d63166e2afdc199ebc631675f9637b9e5d
Author: Andre Moreira Magalhaes <andre endlessm com>
Date: Fri Apr 3 18:35:49 2020 -0300
fixup! payg: Add a new screen to allow unlocking PAYG machines
This change was dropped by mistake during rebase.
https://github.com/endlessm/gnome-shell/pull/633
js/ui/screenShield.js | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/js/ui/screenShield.js b/js/ui/screenShield.js
index 61872e0c2f..6a9b39c030 100644
--- a/js/ui/screenShield.js
+++ b/js/ui/screenShield.js
@@ -688,7 +688,8 @@ var ScreenShield = class {
// end up loging the screen for not regular sessions (e.g. initial-setup).
let shouldLockForPayg = Main.paygManager.isLocked &&
(Main.sessionMode.currentMode == 'user' ||
- Main.sessionMode.currentMode == 'user-coding');
+ Main.sessionMode.currentMode == 'user-coding' ||
+ Main.sessionMode.currentMode == 'endless');
if (!this._settings.get_boolean(LOCK_ENABLED_KEY) && !shouldLockForPayg)
return;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]