First, you have to manually type your city(in most cases this is a biggest city near your location), in english. Well this would be better to fetch weather for your location by IP(if this does not work, use manual search, like it is now). Looks like there are some tips how it could work: http://developerlife.com/tutorials/?p=129 http://developerlife.com/tutorials/?p=18 WDYT?
I thought about it - I had looked at geoclue: http://www.freedesktop.org/wiki/Software/GeoClue With a good enough localisation service, the thing could even update the location when you're travelling. The problem is that IP-based geolocation is really error prone (with 2 out of my 3 usual places being detected as "Paris, France" whereas I'm 700 kilometers away). So, if I add this, it'll be just for the initial plugin configuration.
Well you can add this, but please don't drop current behaviour, because it couyld be used as a fallback if user decides that location is wrong
I think for a default, this would be quite neat. For what I want,the IP usually refers to the next big city, and as long as it can easily be adjusted it doesn't hurt if it's not exact. And maybe you can add some kind of notification when the location at login time is different, ie. if it looks like I'm travelling in the Netherlands rather than at home in Germany, add a button that lets me use the suggested local weather if I like. If you are fancy, offer me to restore my home weather when I'm back.
Please test latest SVN, guys. I've implemented automatic location setting at first startup - not on each connection change for now - so you'll have to add a new Weather Update to your panel.
Looks like this works like a charm. Great work Colin ;)