GNOME Bugzilla – Bug 89310
prompt for city on instantiation
Last modified: 2004-12-22 21:47:04 UTC
When I add a new gweather applet, it by default shows the temperature in Pittsburgh. You need to click Properties to change it. I'm sure Pittsburgh is lovely, but I suspect that a minority of users will be interested in knowing the temperature there. I think it would be a little more friendly to pop up the properties dialog to allow people to set the city, since it's probably not very useful without it.
Not sure there is any way to do this, is there? At least, no other applet does this for their config.
I can't see how it would be technically impossible: just pop up a dialog when first added. (I haven't tried though.) Possibly it is inconsistent with other applets, but that's only because all the others can have defaults that are useful for most people, whereas this bug argues that the weather applet does not and cannot, at least until there is a system-wide setting for the user's physical location. Certainly there seems to be a general trend for gnome programs to ask for information when first run, rather than coming up in an unconfigured mode. Consider for example the druids run by Pan and Evolution to gather email addresses, etc: to come up with some random default, or unable to do anything until the user specifically finds and runs the Preferences dialog would be unfriendly.
Here is another way of not defaulting to Pittsburg for every users : using gconf, it's possible to translate the default value for a key. So, with some changes to the existing applet code (I have mostly made the necessary modifications locally), it would be possible to let the translators choose a sensitive default town for their users locale (ok, this choice will still be controversial, but at least it will probably be a little better than pittsburg). The problem is that this default choice will be far from being perfect, and moreover, the translated string would be a town name which may exist in different countries. Any opinion about this idea ? If people are interested in it, I can provide a patch quickly.
*** This bug has been marked as a duplicate of 103080 ***