Comment 18 for bug 720030

Revision history for this message
Felix Lawrence (felix-lawrence) wrote :

The problem was that the icon was not set when no place was specified. Here's a patch that fixes it - it uses the pre-existing weather-indicator icon "icon.png". It also hardcodes the icon for "weather-indicator-unknown", which did not seem to exist either.

Hard-coding the icons is not ideal in the long term but appears to be the best option at present. In the long run it would be better to design an svg and put it in /usr/share/icons/ubuntu-mono-dark as per one of these links:
http://freakaboutlinux.wordpress.com/2010/12/02/custom-indicator-applet-icon/
http://askubuntu.com/questions/30458/custom-libindicator-icon-is-not-displayed?amp

But since since indicator-weather appears broken on install to (all?) new users, it's probably best to push out this fix as soon as possible.