1 |
Index: updates/textw/timezone_text.py |
2 |
=================================================================== |
3 |
RCS file: /cvsroot/smeserver/cdrom.image/sme9/updates/textw/timezone_text.py,v |
4 |
retrieving revision 1.1 |
5 |
retrieving revision 1.2 |
6 |
diff -u -r1.1 -r1.2 |
7 |
--- updates/textw/timezone_text.py 30 Jul 2013 21:49:21 -0000 1.1 |
8 |
+++ updates/textw/timezone_text.py 30 Jul 2013 21:50:16 -0000 1.2 |
9 |
@@ -43,8 +43,7 @@ |
10 |
|
11 |
def updateSysClock(self): |
12 |
args = ["--hctosys"] |
13 |
- if self.c.selected(): |
14 |
- args.append("--utc") |
15 |
+ args.append("--utc") |
16 |
|
17 |
iutil.execWithRedirect("hwclock", args) |
18 |
self.g.setTimer(500) |
19 |
@@ -89,14 +88,10 @@ |
20 |
self.l.setCurrent(default.replace("_", " ")) |
21 |
# self.l.setCallback(self.updateClock) |
22 |
|
23 |
- self.c = Checkbox(_("System clock uses UTC"), isOn = asUtc) |
24 |
-# self.c.setCallback(self.updateSysClock) |
25 |
- |
26 |
self.g = GridFormHelp(screen, _("Time Zone Selection"), "timezone", |
27 |
1, 5) |
28 |
self.g.add(t, 0, 0) |
29 |
# self.g.add(self.label, 0, 1, padding = (0, 1, 0, 0), anchorLeft = 1) |
30 |
- self.g.add(self.c, 0, 2, padding = (0, 1, 0, 1), anchorLeft = 1) |
31 |
self.g.add(self.l, 0, 3, padding = (0, 0, 0, 1)) |
32 |
self.g.add(bb, 0, 4, growx = 1) |
33 |
|
34 |
@@ -124,7 +119,7 @@ |
35 |
break |
36 |
|
37 |
screen.popWindow() |
38 |
- anaconda.id.timezone.setTimezoneInfo(self.l.current().replace(" ", "_"), asUtc = self.c.selected()) |
39 |
+ anaconda.id.timezone.setTimezoneInfo(self.l.current().replace(" ", "_"), asUtc = 1) |
40 |
|
41 |
return INSTALL_OK |
42 |
|