[gnome-screensaver] switch to using time values in seconds instead of minutes



commit a50f7dc9877ebbc18395e85d572cb5d931defb9d
Author: William Jon McCann <jmccann redhat com>
Date:   Wed Mar 16 23:38:56 2011 -0400

    switch to using time values in seconds instead of minutes
    
    Now consistent with power etc time values.

 src/gs-prefs.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/gs-prefs.c b/src/gs-prefs.c
index 5d6f77d..5a65682 100644
--- a/src/gs-prefs.c
+++ b/src/gs-prefs.c
@@ -136,7 +136,7 @@ _gs_prefs_set_lock_timeout (GSPrefs *prefs,
         if (value > 480)
                 value = 480;
 
-        prefs->lock_timeout = value * 60000;
+        prefs->lock_timeout = value * 1000;
 }
 
 static void
@@ -225,7 +225,7 @@ _gs_prefs_set_logout_timeout (GSPrefs *prefs,
         if (value > 480)
                 value = 480;
 
-        prefs->logout_timeout = value * 60000;
+        prefs->logout_timeout = value * 1000;
 }
 
 static void



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