loginDialog: Provide a finish method

The screenShield expects to be able to call finish on the dialog.
This commit is contained in:
Jasper St. Pierre 2013-08-26 18:02:04 -04:00
parent b7b1260540
commit c59cf18337

View File

@ -921,5 +921,9 @@ const LoginDialog = new Lang.Class({
addCharacter: function(unichar) {
this._authPrompt.addCharacter(unichar);
},
finish: function(onComplete) {
this._authPrompt.finish(onComplete);
},
});
Signals.addSignalMethods(LoginDialog.prototype);