summaryrefslogtreecommitdiffstats
path: root/text.py
diff options
context:
space:
mode:
authorbfox <bfox>2001-06-21 18:39:39 +0000
committerbfox <bfox>2001-06-21 18:39:39 +0000
commit75f1c600f9f836e13a54d6c07d12cc49d1fad218 (patch)
treefbf5a9dfdf8d7a289420207d4d8fc79ec4362f5f /text.py
parentbd01440f32aa617eb94691f1368afb64d92f3225 (diff)
downloadanaconda-75f1c600f9f836e13a54d6c07d12cc49d1fad218.tar.gz
anaconda-75f1c600f9f836e13a54d6c07d12cc49d1fad218.tar.xz
anaconda-75f1c600f9f836e13a54d6c07d12cc49d1fad218.zip
reads installer title from config file
Diffstat (limited to 'text.py')
-rw-r--r--text.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/text.py b/text.py
index 23fd59465..ba91cfe84 100644
--- a/text.py
+++ b/text.py
@@ -256,7 +256,8 @@ class InstallInterface:
return InstallProgressWindow(self.screen, total, totalSize)
def drawFrame(self):
- self.welcomeText = _("Red Hat Linux (C) 2001 Red Hat, Inc.")
+ self.welcomeText = _(self.configFileData.getTitle())
+# self.welcomeText = _("Red Hat Linux (C) 2001 Red Hat, Inc.")
self.screen.drawRootText (0, 0, self.welcomeText)
if (os.access("/usr/share/anaconda/help/C/s1-help-screens-lang.txt", os.R_OK)):
self.screen.pushHelpLine (_(" <F1> for help | <Tab> between elements | <Space> selects | <F12> next screen"))
@@ -267,7 +268,8 @@ class InstallInterface:
self.screen.finish()
self.screen = None
- def __init__(self):
+ def __init__(self, configFileData):
+ self.configFileData = configFileData
signal.signal(signal.SIGINT, signal.SIG_IGN)
signal.signal(signal.SIGTSTP, signal.SIG_IGN)
self.screen = None