/[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.1 - (hide annotations) (download)
Thu Oct 22 14:43:11 2009 UTC (15 years ago) by slords
Branch: MAIN
CVS Tags: anaconda-11_1_2_195-1_el5_sme_1
Add patches

1 slords 1.1 From ed2fcc61f5eaa4afd9f1d17c181850c994d01f88 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] 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