[gnome-shell] loginDialog: Implement cancel()
- From: Florian Müllner <fmuellner src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] loginDialog: Implement cancel()
- Date: Wed, 27 Nov 2013 13:32:13 +0000 (UTC)
commit 729c962b7ccb06c1c79773840ef9de2d8f63f927
Author: Florian Müllner <fmuellner gnome org>
Date: Tue Nov 26 20:52:24 2013 +0100
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 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/js/gdm/loginDialog.js b/js/gdm/loginDialog.js
index 67b35ad..4389fe7 100644
--- a/js/gdm/loginDialog.js
+++ b/js/gdm/loginDialog.js
@@ -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);
},
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]