[gnome-shell] Revert "add annoying delay"



commit 953f44bcc508484af5aef1df2d8b2aa84e5a8765
Author: Ray Strode <rstrode redhat com>
Date:   Thu Jul 18 15:43:51 2013 -0400

    Revert "add annoying delay"
    
    This reverts commit e9531487d9fe5e7e3a345b5322c190bfcb5df9bd.
    
    This is a testing commit and snuck in on accident.

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


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