1470735
diff -up gnome-applets-2.26.1/gweather/gweather-applet.c.network gnome-applets-2.26.1/gweather/gweather-applet.c
1470735
--- gnome-applets-2.26.1/gweather/gweather-applet.c.network	2009-04-15 18:53:13.123633124 -0400
1470735
+++ gnome-applets-2.26.1/gweather/gweather-applet.c	2009-04-15 18:54:17.438384718 -0400
1470735
@@ -17,6 +17,9 @@
1470735
 #include <stdio.h>
1470735
 #include <stdlib.h>
1470735
 #include <assert.h>
1470735
+#include <netinet/in.h>
1470735
+#include <arpa/nameser.h>
1470735
+#include <resolv.h>
1470735
 
1470735
 #include <gconf/gconf-client.h>
1470735
 #include <panel-applet.h>
1470735
@@ -552,6 +555,8 @@ state_notify (DBusPendingCall *pending, 
1470735
                                            DBUS_TYPE_UINT32, &result,
1470735
                                            DBUS_TYPE_INVALID)) {
1470735
                         if (result == NM_STATE_CONNECTED) {
1470735
+				/* thank you, glibc */
1470735
+				res_init ();
1470735
 				gweather_update (gw_applet);
1470735
                         }
1470735
                 }