diff options
author | bfox <bfox> | 2001-06-21 18:39:39 +0000 |
---|---|---|
committer | bfox <bfox> | 2001-06-21 18:39:39 +0000 |
commit | 75f1c600f9f836e13a54d6c07d12cc49d1fad218 (patch) | |
tree | fbf5a9dfdf8d7a289420207d4d8fc79ec4362f5f /text.py | |
parent | bd01440f32aa617eb94691f1368afb64d92f3225 (diff) | |
download | anaconda-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.py | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -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 |