summaryrefslogtreecommitdiffstats
path: root/text.py
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2006-07-24 20:31:20 +0000
committerJeremy Katz <katzj@redhat.com>2006-07-24 20:31:20 +0000
commit252d611ece0a52b58a10c893bd87f557837ea3b6 (patch)
treeba95962b37e80dec683fac1bca2f70db58e76ec6 /text.py
parentc08bf557dd26796e78dafe9c51d6cd081ae4f339 (diff)
downloadanaconda-252d611ece0a52b58a10c893bd87f557837ea3b6.tar.gz
anaconda-252d611ece0a52b58a10c893bd87f557837ea3b6.tar.xz
anaconda-252d611ece0a52b58a10c893bd87f557837ea3b6.zip
2006-07-24 Jeremy Katz <katzj@redhat.com>
* yuminstall.py (AnacondaYum.doConfigSetup): Allow having more than one default repo for the installclass (YumBackend._catchallCategory): Fix catchall category * packages.py (regKeyScreen): Add reg key screen. * installclass.py (BaseInstallClass.getPackagePaths): Add method to handle mapping with a URI to the repo paths we want to have (BaseInstallClass.handleRegKey): Method for handling the reg key and validating it * installclasses/rhel.py: Add Red Hat Enterprise Linux installclass. Have it enable the regkey step * installclasses/rhel_as.py: Remove old RHEL class * installclasses/rhel_desktop.py: Likewise. * installclasses/rhel_es.py: Likewise. * installclasses/rhel_ws.py: Likewise. * gui.py (EntryWindow.__init__): Add intf.entryWindow taking advantage of messageWindow stuff. * text.py (InstallInterface.entryWindow): Likewise. * dispatch.py (installSteps): Add regkey step.
Diffstat (limited to 'text.py')
-rw-r--r--text.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/text.py b/text.py
index 5e72fd589..c00de3bee 100644
--- a/text.py
+++ b/text.py
@@ -341,6 +341,15 @@ class InstallInterface:
else:
return OkCancelWindow(self.screen, title, text)
+ def entryWindow(self, title, text, prompt, entrylength = None):
+ (res, value) = EntryWindow(self.screen, title, text, [prompt])
+ if res == "cancel":
+ return None
+ r = value[0]
+ r.strip()
+ return r
+
+
def kickstartErrorWindow(self, text):
s = _("The following error was found while parsing your "
"kickstart configuration:\n\n%s") %(text,)