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



commit 1a8f15321d71e8700777b859bd703b80572fa4b6
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 e3cb96d..8906e3a 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]