screenShield: Remove confusing name
We have both finishDeactivate and completeDeactivate. Don't.
This commit is contained in:
parent
eec4334a78
commit
899f7da032
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user