Public bug reported:

Binary package hint: gnome-panel

In some cases (such as bug #199582), one may wish to pick a location for
weather and specify a different timezone than the one autopopulated by
the location tool.  In that case, gnome-panel will override the location
code used for weather with the one corresponding to the city of the
*timezone*, not the location code matching the city originally selected!

Here is a result after choosing North America -> US -> Oregon ->
Portland -> HIllsboro Airport from the chooser:

$ gconftool -g /apps/panel/applets/clock_screen0/prefs/cities
[<location name="Portland" timezone="America/Vancouver" latitude="45.548054" 
longitude="-122.954445" code="KHIO" current="true"/>]

And here is the setting after manually changing the timezone to the
correct value through the UI by typing out the timezone name:

$ gconftool -g /apps/panel/applets/clock_screen0/prefs/cities
[<location name="Portland" timezone="America/Los_Angeles" latitude="45.548054" 
longitude="-122.954445" code="CYVR" current="true"/>]

And again, here is the value if I select the timezone from the pulldown
list:

$ gconftool -g /apps/panel/applets/clock_screen0/prefs/cities
[<location name="Portland" timezone="America/Los_Angeles" latitude="45.548054" 
longitude="-122.954445" code="KCQT" current="true"/>]

The METAR code should only be updated when changing the location, not
when changing the timezone.

** Affects: gnome-panel (Ubuntu)
     Importance: Undecided
         Status: New

-- 
changing timezone for a city overrides the weather code
https://bugs.launchpad.net/bugs/200911
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-panel in ubuntu.

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

Reply via email to