Revert "add annoying delay"

This reverts commit e9531487d9.

This is a testing commit and snuck in on accident.
This commit is contained in:
Ray Strode 2013-07-18 15:43:51 -04:00
parent be4f259b71
commit 953f44bcc5

View File

@ -371,11 +371,7 @@ const ShellUserVerifier = new Lang.Class({
// to indicate the user can swipe their finger instead // to indicate the user can swipe their finger instead
this.emit('show-login-hint', _("(or swipe finger)")); this.emit('show-login-hint', _("(or swipe finger)"));
} else if (serviceName == PASSWORD_SERVICE_NAME) { } else if (serviceName == PASSWORD_SERVICE_NAME) {
GLib.timeout_add(GLib.PRIORITY_DEFAULT,
10000,
Lang.bind(this, function() {
this._queueMessage(info, 'login-dialog-message-info'); this._queueMessage(info, 'login-dialog-message-info');
}));
} }
}, },
@ -384,11 +380,7 @@ const ShellUserVerifier = new Lang.Class({
// users who haven't enrolled their fingerprint. // users who haven't enrolled their fingerprint.
if (serviceName != PASSWORD_SERVICE_NAME) if (serviceName != PASSWORD_SERVICE_NAME)
return; return;
GLib.timeout_add(GLib.PRIORITY_DEFAULT,
10000,
Lang.bind(this, function() {
this._queueMessage(problem, 'login-dialog-message-warning'); this._queueMessage(problem, 'login-dialog-message-warning');
}));
}, },
_onInfoQuery: function(client, serviceName, question) { _onInfoQuery: function(client, serviceName, question) {
@ -396,11 +388,7 @@ const ShellUserVerifier = new Lang.Class({
if (serviceName != PASSWORD_SERVICE_NAME) if (serviceName != PASSWORD_SERVICE_NAME)
return; return;
GLib.timeout_add(GLib.PRIORITY_DEFAULT,
10000,
Lang.bind(this, function() {
this.emit('ask-question', serviceName, question, ''); this.emit('ask-question', serviceName, question, '');
}));
}, },
_onSecretInfoQuery: function(client, serviceName, secretQuestion) { _onSecretInfoQuery: function(client, serviceName, secretQuestion) {
@ -408,11 +396,7 @@ const ShellUserVerifier = new Lang.Class({
if (serviceName != PASSWORD_SERVICE_NAME) if (serviceName != PASSWORD_SERVICE_NAME)
return; return;
GLib.timeout_add(GLib.PRIORITY_DEFAULT,
10000,
Lang.bind(this, function() {
this.emit('ask-question', serviceName, secretQuestion, '\u25cf'); this.emit('ask-question', serviceName, secretQuestion, '\u25cf');
}));
}, },
_onReset: function() { _onReset: function() {