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



commit e08d0004d437c92da33013ee9646d07f24d22876
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 f43ed64..05326dc 100644
--- a/daemon/gdm-simple-slave.c
+++ b/daemon/gdm-simple-slave.c
@@ -285,7 +285,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]