[master] Fixes for the Datetime spoke

Vratislav Podzimek vpodzime at redhat.com
Mon Apr 29 13:40:56 UTC 2013


PATCH 1/3 fixes a potential issue that probably cannot be hit.
PATCH 2/3 is needed for the PATCH 3/3 that changes the flow of the data when the
timezone information is updated. Instead of selecting timezone on the map and
relying on the signals it emits to update the other UI elements, it sets the
timezone in the comboboxes and relies on their signals to propagate the change.
The result is more robust because the indication on the map is more like an
optional feature that may do internally anything with the data it gets and may
even fail safely if we want to allow users set timezone that is not supported by
the map (e.g. "Etc/UTC"). It also fixes bug #953311 that was caused by the map
reporting America/SOMETHING (synonyms) for US/SOMETHING timezones selected.

Vratislav Podzimek (3):
  Sensitivity of the date&time settings doesn't depend on timezone
  Allow setting timezone on the map without signal
  Streamline DatetimeSpoke's timezone updating (#953311)

 pyanaconda/ui/gui/spokes/datetime_spoke.py | 74 +++++++++++++++++-------------
 widgets/python/AnacondaWidgets.py          |  7 +++
 widgets/src/TimezoneMap.c                  | 19 +++++---
 widgets/src/TimezoneMap.h                  |  5 +-
 4 files changed, 64 insertions(+), 41 deletions(-)

-- 
1.7.11.7



More information about the anaconda-patches mailing list