summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpnfisher <pnfisher>1999-09-20 21:49:05 +0000
committerpnfisher <pnfisher>1999-09-20 21:49:05 +0000
commit713557bfe7893123970b1ba560539ad9c8ccafc7 (patch)
tree33d21d40885714a5941c542cb26cbd0c7989d72f
parentdcc73eb23477a3a32f6ac9c2f5e6ba819d7dae5d (diff)
downloadanaconda-713557bfe7893123970b1ba560539ad9c8ccafc7.tar.gz
anaconda-713557bfe7893123970b1ba560539ad9c8ccafc7.tar.xz
anaconda-713557bfe7893123970b1ba560539ad9c8ccafc7.zip
Properly set default timezone.
-rw-r--r--iw/timezone.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/iw/timezone.py b/iw/timezone.py
index 469b35982..847b51b48 100644
--- a/iw/timezone.py
+++ b/iw/timezone.py
@@ -77,7 +77,7 @@ class TimezoneWindow (InstallWindow):
return None
def fixUp (self):
- self.tz.setcurrent (self.default)
+ pass
def getScreen (self):
try:
@@ -105,6 +105,9 @@ class TimezoneWindow (InstallWindow):
self.default = "America/New_York"
asUTC = 0
+ self.list.connect ("draw", lambda widget, area, self=self:
+ self.tz.setcurrent (self.default))
+
status = Status (tz.statusbar)
views = Option (tz.views)