1 |
From 8a4ce343217916c1c8e992ed4b9ff657fc1d6afd Mon Sep 17 00:00:00 2001 |
2 |
From: Shad L. Lords <slords@mail.com> |
3 |
Date: Mon, 19 Oct 2009 08:31:38 -0600 |
4 |
Subject: [PATCH 09/17] Force time to be based on UTC |
5 |
|
6 |
--- |
7 |
textw/timezone_text.py | 9 ++++----- |
8 |
1 files changed, 4 insertions(+), 5 deletions(-) |
9 |
|
10 |
diff --git a/textw/timezone_text.py b/textw/timezone_text.py |
11 |
index f30e68f..b29428f 100644 |
12 |
--- a/textw/timezone_text.py |
13 |
+++ b/textw/timezone_text.py |
14 |
@@ -37,8 +37,7 @@ class TimezoneWindow: |
15 |
|
16 |
def updateSysClock(self): |
17 |
args = ["--hctosys"] |
18 |
- if self.c.selected(): |
19 |
- args.append("--utc") |
20 |
+ args.append("--utc") |
21 |
|
22 |
iutil.execWithRedirect("hwclock", args, searchPath=1) |
23 |
self.g.setTimer(500) |
24 |
@@ -85,14 +84,14 @@ class TimezoneWindow: |
25 |
self.l.setCurrent(default) |
26 |
# self.l.setCallback(self.updateClock) |
27 |
|
28 |
- self.c = Checkbox(_("System clock uses UTC"), isOn = asUtc) |
29 |
+# self.c = Checkbox(_("System clock uses UTC"), isOn = asUtc) |
30 |
# self.c.setCallback(self.updateSysClock) |
31 |
|
32 |
self.g = GridFormHelp(screen, _("Time Zone Selection"), "timezone", |
33 |
1, 5) |
34 |
self.g.add(t, 0, 0) |
35 |
# self.g.add(self.label, 0, 1, padding = (0, 1, 0, 0), anchorLeft = 1) |
36 |
- self.g.add(self.c, 0, 2, padding = (0, 1, 0, 1), anchorLeft = 1) |
37 |
+# self.g.add(self.c, 0, 2, padding = (0, 1, 0, 1), anchorLeft = 1) |
38 |
self.g.add(self.l, 0, 3, padding = (0, 0, 0, 1)) |
39 |
self.g.add(bb, 0, 4, growx = 1) |
40 |
|
41 |
@@ -120,7 +119,7 @@ class TimezoneWindow: |
42 |
break |
43 |
|
44 |
screen.popWindow() |
45 |
- anaconda.id.timezone.setTimezoneInfo(self.l.current(), asUtc = self.c.selected()) |
46 |
+ anaconda.id.timezone.setTimezoneInfo(self.l.current(), asUtc = 1) |
47 |
|
48 |
return INSTALL_OK |
49 |
|
50 |
-- |
51 |
1.7.1 |
52 |
|