[gnome-shell] Fix 10884ef7f5ba0b5a0ad96130b4e386af813819af



commit 449d116af247ef25fa2b272e8189fa54e7c0b7ef
Author: Giovanni Campagna <gcampagna src gnome org>
Date:   Wed Sep 19 13:00:36 2012 +0200

    Fix 10884ef7f5ba0b5a0ad96130b4e386af813819af
    
    Bad rebase and code left in that had no effect.

 js/gdm/loginDialog.js |    5 -----
 js/ui/unlockDialog.js |    6 ------
 2 files changed, 0 insertions(+), 11 deletions(-)
---
diff --git a/js/gdm/loginDialog.js b/js/gdm/loginDialog.js
index 9a85e8d..9de707b 100644
--- a/js/gdm/loginDialog.js
+++ b/js/gdm/loginDialog.js
@@ -649,11 +649,6 @@ const LoginDialog = new Lang.Class({
         this._userVerifier.connect('ask-question', Lang.bind(this, this._askQuestion));
         this._userVerifier.connect('show-message', Lang.bind(this, this._showMessage));
         this._userVerifier.connect('reset', Lang.bind(this, this._onReset));
-        this._userVerifier.connect('not-supported', Lang.bind(this, function(verifier, error) {
-            Main.notifyError(_("Configuration problem: Could not connect to GDM"), error.message);
-            this._onReset();
-        }));
-
         this._userVerifier.connect('show-login-hint', Lang.bind(this, this._showLoginHint));
         this._userVerifier.connect('hide-login-hint', Lang.bind(this, this._hideLoginHint));
 
diff --git a/js/ui/unlockDialog.js b/js/ui/unlockDialog.js
index 8701a43..127a924 100644
--- a/js/ui/unlockDialog.js
+++ b/js/ui/unlockDialog.js
@@ -133,12 +133,6 @@ const UnlockDialog = new Lang.Class({
         this._userVerifier.connect('show-login-hint', Lang.bind(this, this._showLoginHint));
         this._userVerifier.connect('hide-login-hint', Lang.bind(this, this._hideLoginHint));
 
-        this._userVerifier.connect('not-supported', Lang.bind(this, function(verifier, error) {
-            Main.notifyError(_("Could not connect to GDM. Screen locking was automatically disabled."), error.message);
-            this._userVerifier.clear();
-            this.emit('unlocked');
-        }));
-
         this._userWidget = new UserWidget(this._user);
         this.contentLayout.add_actor(this._userWidget.actor);
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]