From 621e3d0df8abbf9c74df9f9c0cff3010bba5be82 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20M=C3=BCllner?= Date: Tue, 26 Nov 2013 20:52:24 +0100 Subject: [PATCH] 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 --- js/gdm/loginDialog.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/js/gdm/loginDialog.js b/js/gdm/loginDialog.js index eb94554a8..fb3cf70fb 100644 --- a/js/gdm/loginDialog.js +++ b/js/gdm/loginDialog.js @@ -907,6 +907,10 @@ const LoginDialog = new Lang.Class({ Main.ctrlAltTabManager.removeGroup(this.dialogLayout); }, + cancel: function() { + this._authPrompt.cancel(); + }, + addCharacter: function(unichar) { this._authPrompt.addCharacter(unichar); },