screenShield: Fix regression from 114f6f577f

This commit is contained in:
Florian Müllner 2012-09-19 13:11:27 +02:00
parent 2acb097662
commit 23c1138a58

View File

@ -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;
}
if (this._arrowAnimationId)
Mainloop.source_remove(this._arrowAnimationId);