[Xfce4-commits] <xfce4-weather-plugin:master> Increase maximum number of possible timeslices.
Harald Judt
noreply at xfce.org
Mon Jul 2 12:38:18 CEST 2012
Updating branch refs/heads/master
to a1160b9f6b1cccdec05ebcc976f1defc264d27eb (commit)
from f55d99279abd6ad5ae6604a52266276895212fb2 (commit)
commit a1160b9f6b1cccdec05ebcc976f1defc264d27eb
Author: Harald Judt <h.judt at gmx.at>
Date: Wed Jun 27 08:21:01 2012 +0200
Increase maximum number of possible timeslices.
The current maximum is not high enough for some forecast locations
which provide more detailed data (example: Stuttgart). Therefore,
the forecast tab does not have enough data for five days. Let's
double the value, it doesn't do much harm.
panel-plugin/weather-parsers.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/panel-plugin/weather-parsers.h b/panel-plugin/weather-parsers.h
index 3f64725..ef97c6a 100644
--- a/panel-plugin/weather-parsers.h
+++ b/panel-plugin/weather-parsers.h
@@ -26,7 +26,7 @@ G_BEGIN_DECLS
#define DATA(node) (gchar *) xmlNodeListGetString(node->doc, node->children, 1)
#define PROP(node, prop) ((gchar *) xmlGetProp ((node), (const xmlChar *) (prop)))
#define NODE_IS_TYPE(node, type) xmlStrEqual (node->name, (const xmlChar *) type)
-#define MAX_TIMESLICE 250
+#define MAX_TIMESLICE 500
enum
{
More information about the Xfce4-commits
mailing list