[gdm/multi-stack: 1/35] Revert "Don't wait a mandatory 2 seconds when resetting greeter"



commit 2ee1172a7fbef12c0a6766b07b3ca8fe9439007b
Author: Ray Strode <rstrode redhat com>
Date:   Thu Jul 22 13:38:09 2010 -0400

    Revert "Don't wait a mandatory 2 seconds when resetting greeter"
    
    This reverts commit 83552f19154bf5689b395a76c1a9931b2558f41b.
    
    This is a temporary fix so that error messages are displayed for
    long enough.  A better fix would belong in the greeter.

 daemon/gdm-simple-slave.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/daemon/gdm-simple-slave.c b/daemon/gdm-simple-slave.c
index a03ccfc..3081005 100644
--- a/daemon/gdm-simple-slave.c
+++ b/daemon/gdm-simple-slave.c
@@ -294,7 +294,7 @@ queue_greeter_reset (GdmSimpleSlave *slave)
                 return;
         }
 
-        slave->priv->greeter_reset_id = g_idle_add ((GSourceFunc)greeter_reset_timeout, slave);
+        slave->priv->greeter_reset_id = g_timeout_add_seconds (2, (GSourceFunc)greeter_reset_timeout, slave);
 }
 
 static void



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