[Xfce4-commits] <xfce4-weather-plugin:master> Use msl field in query to met.no.
Harald Judt
noreply at xfce.org
Tue Nov 27 16:46:43 CET 2012
Updating branch refs/heads/master
to 0a4c9c0cd68e54b211042285667e4a087495108d (commit)
from f7c0bfe20554976b07ab92a153c1702bc66955ba (commit)
commit 0a4c9c0cd68e54b211042285667e4a087495108d
Author: Harald Judt <h.judt at gmx.at>
Date: Tue Nov 27 10:37:16 2012 +0100
Use msl field in query to met.no.
panel-plugin/weather.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/panel-plugin/weather.c b/panel-plugin/weather.c
index 48908da..37af707 100644
--- a/panel-plugin/weather.c
+++ b/panel-plugin/weather.c
@@ -416,8 +416,8 @@ update_weatherdata(xfceweather_data *data)
/* build url */
url =
g_strdup_printf("http://api.yr.no/weatherapi"
- "/locationforecastlts/1.1/?lat=%s;lon=%s",
- data->lat, data->lon);
+ "/locationforecastlts/1.1/?lat=%s;lon=%s;msl=%d",
+ data->lat, data->lon, data->msl);
/* start receive thread */
g_message("getting %s", url);
More information about the Xfce4-commits
mailing list