[gnome-continuous] libqa: Switch to TimedLogin for testing



commit e36bd04b7384d5ffd4b0623fe0857969b7200991
Author: Colin Walters <walters verbum org>
Date:   Tue Feb 18 18:41:36 2014 -0500

    libqa: Switch to TimedLogin for testing
    
    The advantage of this is we actually sit at the greeter for a bit - if
    something crashes, we'll see it.

 src/js/libqa.js |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/js/libqa.js b/src/js/libqa.js
index e1b55be..97040c2 100644
--- a/src/js/libqa.js
+++ b/src/js/libqa.js
@@ -243,8 +243,8 @@ function enableAutologin(currentDir, currentEtcDir, username, cancellable) {
     let gdmCustomPath = currentEtcDir.resolve_relative_path('gdm/custom.conf');
     let keyfile = new GLib.KeyFile();
     keyfile.load_from_file(gdmCustomPath.get_path(), GLib.KeyFileFlags.NONE);
-    keyfile.set_string('daemon', 'AutomaticLoginEnable', 'true');
-    keyfile.set_string('daemon', 'AutomaticLogin', username);
+    keyfile.set_string('daemon', 'TimedLoginEnable', 'true');
+    keyfile.set_string('daemon', 'TimedLogin', username);
     gdmCustomPath.replace_contents(keyfile.to_data()[0], null, false, 
Gio.FileCreateFlags.REPLACE_DESTINATION, cancellable);
 }
 


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