I only wrote an implementation for NetworkManager (because that's all that I have installed here), but it shouldn't be too difficult for someone to write a WICD implementation. Also, it should be useful for any network-using Python applet, not just weather.
I wrote a modular library for network detection in Python a few months ago. I've uploaded it here:
lp:~awn-extras/awn-extras/network-detection
I only wrote an implementation for NetworkManager (because that's all that I have installed here), but it shouldn't be too difficult for someone to write a WICD implementation. Also, it should be useful for any network-using Python applet, not just weather.