diff options
author | Hans de Goede <hdegoede@redhat.com> | 2010-05-04 17:34:33 +0200 |
---|---|---|
committer | Hans de Goede <hdegoede@redhat.com> | 2010-05-04 21:58:44 +0200 |
commit | c1ef54698c9310e4eac7426468e78c56e955cef0 (patch) | |
tree | 9e8f212f82cfa3d3470a87ed19790cc013bbf521 /iw/timezone_gui.py | |
parent | 31e128b11df79496df9cdde200482a66ca07c3f1 (diff) | |
download | anaconda-c1ef54698c9310e4eac7426468e78c56e955cef0.tar.gz anaconda-c1ef54698c9310e4eac7426468e78c56e955cef0.tar.xz anaconda-c1ef54698c9310e4eac7426468e78c56e955cef0.zip |
Revert commit 27a4c7df871744454d1ca8979a576f9f45c67189
We want to have a sane default for the UTC checkbox so we need to
fixup hasWindows() rather then removing it.
Diffstat (limited to 'iw/timezone_gui.py')
-rw-r--r-- | iw/timezone_gui.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/iw/timezone_gui.py b/iw/timezone_gui.py index 1a821b7f4..c5ecd889d 100644 --- a/iw/timezone_gui.py +++ b/iw/timezone_gui.py @@ -30,6 +30,7 @@ import sys from timezone_map_gui import TimezoneMap, Enum from iw_gui import * from booty.bootloaderInfo import dosFilesystems +from bootloader import hasWindows from constants import * import gettext @@ -103,6 +104,9 @@ class TimezoneWindow(InstallWindow): self.tz.setCurrent(self.zonetab.findEntryByTZ(self.default)) self.utcCheckbox.set_active(asUTC) + if not anaconda.ksdata: + self.utcCheckbox.set_active(not hasWindows(anaconda.bootloader)) + self.notebook.remove(self.vbox) return self.vbox |