loginDialog: Implement cancel()

The screen shield expects a cancel() method on the unlockDialog
implementation, but LoginDialog does not provide it currently.

https://bugzilla.gnome.org/show_bug.cgi?id=719378
This commit is contained in:
Florian Müllner 2013-11-26 20:52:24 +01:00
parent ebc15e60a8
commit 729c962b7c

View File

@ -885,6 +885,10 @@ const LoginDialog = new Lang.Class({
Main.ctrlAltTabManager.removeGroup(this.dialogLayout);
},
cancel: function() {
this._authPrompt.cancel();
},
addCharacter: function(unichar) {
this._authPrompt.addCharacter(unichar);
},