diff -up gnome-applets-2.26.1/gweather/gweather-applet.c.network gnome-applets-2.26.1/gweather/gweather-applet.c --- gnome-applets-2.26.1/gweather/gweather-applet.c.network 2009-04-12 21:09:20.000000000 -0400 +++ gnome-applets-2.26.1/gweather/gweather-applet.c 2009-05-26 21:05:49.525615526 -0400 @@ -17,6 +17,9 @@ #include #include #include +#include +#include +#include #include #include @@ -552,6 +555,8 @@ state_notify (DBusPendingCall *pending, DBUS_TYPE_UINT32, &result, DBUS_TYPE_INVALID)) { if (result == NM_STATE_CONNECTED) { + /* thank you, glibc */ + res_init (); gweather_update (gw_applet); } } @@ -614,7 +619,7 @@ setup_network_monitor (GWeatherApplet *g dbus_connection_add_filter (dbus, filter_func, gw_applet, NULL); dbus_bus_add_match (dbus, "type='signal'," - "interface='" NM_DBUS_INTERFACE_DEVICE "'", + "interface='" NM_DBUS_INTERFACE "'", NULL); } }