/[smeserver]/rpms/anaconda/sme8/0009-Force-time-to-be-based-on-UTC.patch
ViewVC logotype

Annotation of /rpms/anaconda/sme8/0009-Force-time-to-be-based-on-UTC.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.2 - (hide annotations) (download)
Mon May 17 16:15:48 2010 UTC (14 years, 6 months ago) by slords
Branch: MAIN
CVS Tags: anaconda-11_1_2_209-1_el5_sme
Changes since 1.1: +1 -1 lines
COS5.5 update

1 slords 1.2 From 7c189b2f6d9de3ac2f08b5d7c2c36f2fcf18bce7 Mon Sep 17 00:00:00 2001
2 slords 1.1 From: Shad L. Lords <slords@mail.com>
3     Date: Mon, 19 Oct 2009 08:31:38 -0600
4     Subject: [PATCH] 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.5.5.6
52    

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed