You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/xfce-extra/xfce4-weather-plugin/files/xfce4-weather-plugin-0.8.3-...

29 lines
974 B

http://bugs.gentoo.org/524850
From 70024ad992bfd3845d885469e5eccfad76269465 Mon Sep 17 00:00:00 2001
From: Harald Judt <h.judt@gmx.at>
Date: Tue, 3 Jun 2014 19:59:05 +0200
Subject: [PATCH] Switch to met.no locationforecastLTS-1.2 API (bug #10916).
(cherry picked from commit 7df303bc5fa649299e18efeb5d4b801614030488)
---
panel-plugin/weather.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/panel-plugin/weather.c b/panel-plugin/weather.c
index 4a2e3c3..e5036ae 100644
--- a/panel-plugin/weather.c
+++ b/panel-plugin/weather.c
@@ -638,7 +638,7 @@ update_handler(plugin_data *data)
/* build url */
url =
g_strdup_printf("http://api.yr.no/weatherapi"
- "/locationforecastlts/1.1/?lat=%s;lon=%s;msl=%d",
+ "/locationforecastlts/1.2/?lat=%s;lon=%s;msl=%d",
data->lat, data->lon, data->msl);
/* start receive thread */
--
2.1.2