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~ 2005-08-12 20:02:54.000000000 +0300
40 +++ anaconda-11.0.5/timezone.py 2006-09-26 20:37:15.448072953 +0300
42 log.error("Error copying timezone (from %s): %s" % (fromFile, msg))
44 f = open(instPath + "/etc/sysconfig/clock", "w")
46 - f.write('ZONE="%s"\n' % self.tz)
47 + f.write('# Should the hardware clock be kept in Coordinated Universal Time (instead of local time).')
48 f.write("UTC=%s\n" % bool(self.utc))
49 + f.write('# true means your machine uses epoch 1980 in its hardware clock')
50 f.write("ARC=%s\n" % bool(self.arc))
51 + f.write('# true means your machine uses epoch 1900 in its hardware clock')
52 + f.write("SRM=false\n")
55 + # FIXME: solution for timezones like EET
56 + (area, zone) = string.split(self.tz, "/")
58 + f = open(instPath + "/etc/sysconfig/timezone", "w")
59 + f.write('# Time zone information.')
60 + f.write('# Directory containing zone information files.')
61 + f.write('ZONE_INFO_DIR="/usr/share/zoneinfo"')
63 + f.write('# Scheme you would like to use in your system.')
64 + f.write('ZONE_INFO_SCHEME="posix"')
66 + f.write('# Area (sometimes may be empty)')
67 + f.write('ZONE_INFO_AREA="%s"\n' % area)
69 + f.write('# Name of the time zone for your system.')
70 + f.write('TIME_ZONE="%s"\n' % zone)
74 def getTimezoneInfo(self):