[gnome-panel] clock: Bump CanSetTimezone cache to 20 seconds



commit 22ed971b882d16b584ca707d1c590243290432d5
Author: Vincent Untz <vuntz gnome org>
Date:   Thu Feb 2 17:50:27 2012 +0100

    clock: Bump CanSetTimezone cache to 20 seconds
    
    2 seconds is pretty low, and there's no reason to not have a higher
    value (especially as looking for this information requires some dbus
    traffic).

 applets/clock/set-timezone.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/applets/clock/set-timezone.c b/applets/clock/set-timezone.c
index 213e2f3..1a08cc9 100644
--- a/applets/clock/set-timezone.c
+++ b/applets/clock/set-timezone.c
@@ -27,7 +27,7 @@
 
 #include "set-timezone.h"
 
-#define CACHE_VALIDITY_SEC 2
+#define CACHE_VALIDITY_SEC 20
 
 #define MECHANISM_BUS_NAME    "org.freedesktop.timedate1"
 #define MECHANISM_OBJECT_PATH "/org/freedesktop/timedate1"



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