[gnome-shell] loginDialog: Implement cancel()



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]