Yves-Alexis Perez wrote... > Yes. The thing is, the patch to include API key is too heavy for a > stable update.
Do you really think a patch like diff --git a/panel-plugin/weather.c b/panel-plugin/weather.c index 75c3d3c..0eb9487 100644 --- a/panel-plugin/weather.c +++ b/panel-plugin/weather.c @@ -338,9 +338,10 @@ update_weatherdata (xfceweather_data *data) } /* build url */ - url = g_strdup_printf ("/weather/local/%s?cc=*&dayf=%d&unit=%c", + url = g_strdup_printf ("/weather/local/%s?cc=*&dayf=%d&unit=%c&link=xoap&prod=xoap&par=%s&key=%s", data->location_code, XML_WEATHER_DAYF_N, - data->unit == METRIC ? 'm' : 'i'); + data->unit == METRIC ? 'm' : 'i', + PARTNER_ID, LICENSE_KEY); /* start receive thread */ weather_http_receive_data ("xoap.weather.com", url, data->proxy_host, diff --git a/panel-plugin/weather.h b/panel-plugin/weather.h index ef85749..f0adb47 100644 --- a/panel-plugin/weather.h +++ b/panel-plugin/weather.h @@ -22,6 +22,8 @@ #include <libxfce4panel/xfce-panel-plugin.h> #include <libxfce4util/libxfce4util.h> +#define PARTNER_ID "1121946239" +#define LICENSE_KEY "3c4cd39ee5dec84f" G_BEGIN_DECLS is too intrusive for a lenny point release? That'd be rather sad. Christoph For the records: Works for me.
signature.asc
Description: Digital signature