[Goodies-commits] r7557 - in xfce4-weather-plugin/trunk: . panel-plugin
Colin Leroy
colin at xfce.org
Sat Jun 13 20:23:14 CEST 2009
Author: colin
Date: 2009-06-13 18:23:14 +0000 (Sat, 13 Jun 2009)
New Revision: 7557
Modified:
xfce4-weather-plugin/trunk/ChangeLog
xfce4-weather-plugin/trunk/panel-plugin/weather.c
Log:
2009-06-13 Colin Leroy <colin at colino.net>
* panel-plugin/weather.c: Check the HTTP_PROXY environment variable
both upper and lower case.
Modified: xfce4-weather-plugin/trunk/ChangeLog
===================================================================
--- xfce4-weather-plugin/trunk/ChangeLog 2009-06-13 16:36:58 UTC (rev 7556)
+++ xfce4-weather-plugin/trunk/ChangeLog 2009-06-13 18:23:14 UTC (rev 7557)
@@ -1,5 +1,14 @@
2009-06-13 Colin Leroy <colin at colino.net>
+ * panel-plugin/weather.c: Check the HTTP_PROXY environment variable
+ both upper and lower case.
+
+2009-06-13 Colin Leroy <colin at colino.net>
+
+ * 0.6.3 released
+
+2009-06-13 Colin Leroy <colin at colino.net>
+
* panel-plugin/weather-icon.c: fix bug #5456, "Icon unaccessible when
XOAP error". If we couldn't load an icon, load the default one (99).
Modified: xfce4-weather-plugin/trunk/panel-plugin/weather.c
===================================================================
--- xfce4-weather-plugin/trunk/panel-plugin/weather.c 2009-06-13 16:36:58 UTC (rev 7556)
+++ xfce4-weather-plugin/trunk/panel-plugin/weather.c 2009-06-13 18:23:14 UTC (rev 7557)
@@ -47,9 +47,13 @@
gint *proxy_port)
{
- gchar *env_proxy = getenv ("HTTP_PROXY"), *tmp, **split;
+ gchar *env_proxy = NULL, *tmp, **split;
+ env_proxy = getenv ("HTTP_PROXY");
if (!env_proxy)
+ env_proxy = getenv ("http_proxy");
+
+ if (!env_proxy)
return FALSE;
tmp = strstr (env_proxy, "://");
More information about the Goodies-commits
mailing list