summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2002-03-07 21:33:49 +0000
committerJeremy Katz <katzj@redhat.com>2002-03-07 21:33:49 +0000
commit1979c433bd2a1c44aa0549580436178cc62f26c6 (patch)
treec47d4a8cfc6ecb3a2bd6a52f07554b9b8c20abfe
parentbacdf38d0608c00dada19435b841afb10436af6e (diff)
downloadanaconda-1979c433bd2a1c44aa0549580436178cc62f26c6.tar.gz
anaconda-1979c433bd2a1c44aa0549580436178cc62f26c6.tar.xz
anaconda-1979c433bd2a1c44aa0549580436178cc62f26c6.zip
tcsc fixes (53574)
-rw-r--r--language.py3
-rw-r--r--text.py4
2 files changed, 5 insertions, 2 deletions
diff --git a/language.py b/language.py
index bfae632b1..82e09f446 100644
--- a/language.py
+++ b/language.py
@@ -145,7 +145,8 @@ class InstallTimeLanguage:
os.environ["RUNTIMELANG"] = lang
def setRuntimeLanguage(self, name):
- self.setRuntimeDefaults(name)
+ if not os.environ.has_key("RUNTIMELANG"):
+ self.setRuntimeDefaults(name)
lang = self.langNicks[name]
os.environ["LANG"] = lang
diff --git a/text.py b/text.py
index fe2cbf85c..0a5d8e924 100644
--- a/text.py
+++ b/text.py
@@ -337,7 +337,6 @@ class InstallInterface:
self.screen = SnackScreen()
self.configFileData = configFileData
self.screen.helpCallback(self.helpWindow)
- self.drawFrame()
# uncomment this line to make the installer quit on <Ctrl+Z>
# handy for quick debugging.
@@ -366,6 +365,9 @@ class InstallInterface:
self.langSearchPath = expandLangs(lang) + ['C']
self.instLanguage = id.instLanguage
+ # draw the frame after setting up the fallback
+ self.drawFrame()
+
id.fsset.registerMessageWindow(self.messageWindow)
id.fsset.registerProgressWindow(self.progressWindow)
id.fsset.registerWaitWindow(self.waitWindow)