1 --- anaconda-11.0.5/iw/timezone_gui.py~ 2006-02-16 17:09:07.000000000 +0200
2 +++ anaconda-11.0.5/iw/timezone_gui.py 2006-05-24 02:51:14.854100882 +0300
4 gtk.glade.set_custom_handler(self.custom_widget_handler)
6 # Set the default now. We'll fix it for real in getScreen.
7 - self.default = "America/New_York"
8 + self.default = "Europe/Tallinn"
10 self.zonetab = zonetab.ZoneTab()
15 if (string.find(self.default, "UTC") != -1):
16 - self.default = "America/New_York"
17 + self.default = "Europe/Tallinn"
19 # Now fix the default we set when we made the timezone map widget.
20 self.tz.setCurrent(self.zonetab.findEntryByTZ(self.default))
22 if curlat >= latmin and curlat <= latmax and curlong >= longmin and curlong <= longmax:
24 elif user_data.currentEntry == None:
25 - if model.get_value(iter, 1) == "America/New_York":
26 + if model.get_value(iter, 1) == "Europe/Tallinn":
31 weight=pango.WEIGHT_BOLD)
32 self.markers[entry.tz] = marker
34 - if entry.tz == "America/New_York":
35 + if entry.tz == "Europe/Tallinn":
36 #In case the /etc/sysconfig/clock is messed up, use New York as default
37 self.fallbackEntry = entry
39 --- anaconda-11.0.5/timezone.py 2006-09-26 20:37:15.448072953 +0300
40 +++ anaconda-11.0.5/timezone.py 2006-09-28 14:46:04.567338250 +0300
43 log = logging.getLogger("anaconda")
51 log.error("Error copying timezone (from %s): %s" % (fromFile, msg))
53 f = open(instPath + "/etc/sysconfig/clock", "w")
55 - f.write('ZONE="%s"\n' % self.tz)
56 + f.write('# Should the hardware clock be kept in Coordinated Universal Time (instead of local time).\n')
57 f.write("UTC=%s\n" % bool(self.utc))
58 + f.write('# true means your machine uses epoch 1980 in its hardware clock\n')
59 f.write("ARC=%s\n" % bool(self.arc))
60 + f.write('# true means your machine uses epoch 1900 in its hardware clock\n')
61 + f.write("SRM=false\n")
64 + # FIXME: solution for timezones like EET
65 + (area, zone) = string.split(self.tz, "/")
67 + f = open(instPath + "/etc/sysconfig/timezone", "w")
68 + f.write('# Time zone information.\n')
69 + f.write('# Directory containing zone information files.\n')
70 + f.write('ZONE_INFO_DIR="/usr/share/zoneinfo"\n')
72 + f.write('# Scheme you would like to use in your system.\n')
73 + f.write('ZONE_INFO_SCHEME="posix"\n')
75 + f.write('# Area (sometimes may be empty)\n')
76 + f.write('ZONE_INFO_AREA="%s"\n' % area)
78 + f.write('# Name of the time zone for your system.\n')
79 + f.write('TIME_ZONE="%s"\n' % zone)
83 def getTimezoneInfo(self):