From 449d116af247ef25fa2b272e8189fa54e7c0b7ef Mon Sep 17 00:00:00 2001 From: Giovanni Campagna Date: Wed, 19 Sep 2012 13:00:36 +0200 Subject: [PATCH] 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, 11 deletions(-) diff --git a/js/gdm/loginDialog.js b/js/gdm/loginDialog.js index 9a85e8d33..9de707bf7 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 8701a430d..127a924c7 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);