summaryrefslogtreecommitdiffstats
path: root/textw/timezone_text.py
diff options
context:
space:
mode:
authorChris Lumens <clumens@redhat.com>2006-07-11 15:42:58 +0000
committerChris Lumens <clumens@redhat.com>2006-07-11 15:42:58 +0000
commitdd10eaa60c6b6e0903d1e1977339eb6d61b0e770 (patch)
tree3b7ce5836b35aa06a22065864ca4dfd80fda4185 /textw/timezone_text.py
parent6725624ecc1284120c475edabb38f7ecfc1dbb72 (diff)
downloadanaconda-dd10eaa60c6b6e0903d1e1977339eb6d61b0e770.tar.gz
anaconda-dd10eaa60c6b6e0903d1e1977339eb6d61b0e770.tar.xz
anaconda-dd10eaa60c6b6e0903d1e1977339eb6d61b0e770.zip
Check the UTC box on the text interface automatically if there's no Windows
partitions.
Diffstat (limited to 'textw/timezone_text.py')
-rw-r--r--textw/timezone_text.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/textw/timezone_text.py b/textw/timezone_text.py
index ee6f10cc0..37a368d0a 100644
--- a/textw/timezone_text.py
+++ b/textw/timezone_text.py
@@ -19,6 +19,7 @@ from time import *
from snack import *
from constants_text import *
from rhpl.translate import _, textdomain
+from bootloader import hasWindows
textdomain("system-config-date")
@@ -71,6 +72,9 @@ class TimezoneWindow:
t = TextboxReflowed(30,
_("What time zone are you located in?"))
+ if not hasWindows(anaconda.id.bootloader):
+ asUtc = True
+
#
# disabling this for now
#