Set refresh period for the 5 days forecast to 3 and a half hours, in accordance to...
authorCesare Tirabassi <norsetto@ubuntu.com>
Wed, 5 Aug 2009 15:26:25 +0000 (17:26 +0200)
committerCesare Tirabassi <norsetto@ubuntu.com>
Wed, 5 Aug 2009 15:26:25 +0000 (17:26 +0200)
doc/variables.xml
src/conky.c

index b695418..9759d62 100644 (file)
                                        precipitation (in %)</option>
                 </member>
             </simplelist>
-            <para>'delay_in_minutes' (optional, default 150) cannot
-            be lower than 150 min.</para>
+            <para>'delay_in_minutes' (optional, default 210) cannot
+            be lower than 210 min.</para>
             <para>This object is threaded, and once a thread is
             created it can't be explicitely destroyed. One thread
             will run for each URI specified. You can use any
index 0d08b40..0b41d3d 100644 (file)
@@ -3080,9 +3080,9 @@ static struct text_object *construct_text_object(const char *s,
                                }
                                obj->data.weather_forecast.day = day;
 
-                               /* Limit the data retrieval interval to 2 hours and an half */
-                               if (interval < 150) {
-                                       interval = 150;
+                               /* Limit the data retrieval interval to 3 hours and an half */
+                               if (interval < 210) {
+                                       interval = 210;
                                }
 
                                /* Convert to seconds */