screenShield: Remove confusing name

We have both finishDeactivate and completeDeactivate. Don't.
This commit is contained in:
Jasper St. Pierre 2013-08-06 09:49:00 -04:00
parent eec4334a78
commit 899f7da032

View File

@ -1125,13 +1125,13 @@ const ScreenShield = new Lang.Class({
deactivate: function(animate) {
if (this._dialog)
this._dialog.finish(Lang.bind(this, function() {
this._finishDeactivate(animate);
this._continueDeactivate(animate);
}));
else
this._finishDeactivate(animate);
this._continueDeactivate(animate);
},
_finishDeactivate: function(animate) {
_continueDeactivate: function(animate) {
this._hideLockScreen(animate, 0);
if (this._hasLockScreen)