[gnome-shell/gbsneto/new-lock-screen-part2: 33/34] screenShield: Cleanup _ensureUnlockDialog
- From: Georges Basile Stavracas Neto <gbsneto src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell/gbsneto/new-lock-screen-part2: 33/34] screenShield: Cleanup _ensureUnlockDialog
- Date: Fri, 31 Jan 2020 14:00:01 +0000 (UTC)
commit d5f0d4c10d113dc94e5297348c915d8b6e9d0dd7
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date: Mon Dec 2 12:36:38 2019 -0300
screenShield: Cleanup _ensureUnlockDialog
Just like on ScreenShield.activate(), we can just ensure the
unlock screen on ScreenShield.showDialog().
https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/872
js/ui/screenShield.js | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
---
diff --git a/js/ui/screenShield.js b/js/ui/screenShield.js
index 4cb7f249df..18352e554d 100644
--- a/js/ui/screenShield.js
+++ b/js/ui/screenShield.js
@@ -328,8 +328,7 @@ var ScreenShield = class {
this.actor.show();
this._isGreeter = Main.sessionMode.isGreeter;
this._isLocked = true;
- if (this._ensureUnlockDialog(true))
- this._hideLockScreen(false);
+ this._ensureUnlockDialog(true);
}
_hideLockScreenComplete() {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]