[gnome-session] switch to using seconds for idle time
- From: William Jon McCann <mccann src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-session] switch to using seconds for idle time
- Date: Thu, 17 Mar 2011 03:54:57 +0000 (UTC)
commit b48a9f89be99390f8333dbde959037ba37e3bc58
Author: William Jon McCann <jmccann redhat com>
Date: Wed Mar 16 23:35:25 2011 -0400
switch to using seconds for idle time
Changed in the schema to be consistent with power etc time values.
gnome-session/gsm-manager.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gnome-session/gsm-manager.c b/gnome-session/gsm-manager.c
index 9905145..23b9374 100644
--- a/gnome-session/gsm-manager.c
+++ b/gnome-session/gsm-manager.c
@@ -2571,7 +2571,7 @@ idle_timeout_get_mapping (GValue *value,
guint32 idle_timeout;
idle_timeout = g_variant_get_uint32 (variant);
- g_value_set_uint (value, idle_timeout * 60000);
+ g_value_set_uint (value, idle_timeout * 1000);
return TRUE;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]