From 23c1138a5809337d4039b85de78b6c1c85b0770f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20M=C3=BCllner?= Date: Wed, 19 Sep 2012 13:11:27 +0200 Subject: [PATCH] screenShield: Fix regression from 114f6f577f58 --- js/ui/screenShield.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/js/ui/screenShield.js b/js/ui/screenShield.js index 96e2f80b0..ff410c862 100644 --- a/js/ui/screenShield.js +++ b/js/ui/screenShield.js @@ -698,9 +698,10 @@ const ScreenShield = new Lang.Class({ }, _lockScreenShown: function() { - if (this._dialog) + if (this._dialog && !this._isGreeter) { this._dialog.destroy(); - this._dialog = null; + this._dialog = null; + } if (this._arrowAnimationId) Mainloop.source_remove(this._arrowAnimationId);