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.

** Patch added: "hardcode-icons-lp720030.patch"
   
https://bugs.launchpad.net/ubuntu/+source/indicator-weather/+bug/720030/+attachment/1945038/+files/hardcode-icons-lp720030.patch

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/720030

Title:
  indicator invisible on first run

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to