summaryrefslogtreecommitdiffstats
path: root/text.py
diff options
context:
space:
mode:
authorChris Lumens <clumens@redhat.com>2009-09-15 13:47:16 -0400
committerChris Lumens <clumens@redhat.com>2009-09-22 16:37:07 -0400
commit6675704a3afbc6cdea455e0a6bcbc9dd6ebd8096 (patch)
tree6cbcb918fce43769c6b635bf2af98446845a55fc /text.py
parent45bb27f111d21efb547e42486961b1de4fb98541 (diff)
downloadanaconda-6675704a3afbc6cdea455e0a6bcbc9dd6ebd8096.tar.gz
anaconda-6675704a3afbc6cdea455e0a6bcbc9dd6ebd8096.tar.xz
anaconda-6675704a3afbc6cdea455e0a6bcbc9dd6ebd8096.zip
Remove the installation number screen.
Whatever form the new entitlement system takes, it is unlikely it will look like what we've currently got. It's probably better to start over fresh than attempt to adapt what we've got into supporting the new system. This will also allow testing of the RHEL6 tree with the right product name without requiring testers to enter a key.
Diffstat (limited to 'text.py')
-rw-r--r--text.py46
1 files changed, 0 insertions, 46 deletions
diff --git a/text.py b/text.py
index 1d6db0fdc..f2a1c6972 100644
--- a/text.py
+++ b/text.py
@@ -341,52 +341,6 @@ class InstallInterface:
ret = w.run()
return ret != INSTALL_BACK
- def getInstallKey(self, key = ""):
- ic = self.anaconda.id.instClass
- keyname = _(ic.instkeyname)
- if keyname is None:
- keyname = _("Installation Key")
-
- g = GridFormHelp(self.screen, keyname, "instkey", 1, 6)
-
- txt = TextboxReflowed(65, ic.instkeydesc or
- _("Please enter your %(instkey)s") %
- {"instkey": keyname,})
- g.add(txt, 0, 0, (0,0,0,1))
-
-
- radio = RadioGroup()
- keyradio = radio.add(keyname, "key", int(not self.anaconda.id.instClass.skipkey))
- keyentry = Entry(24)
- keyentry.set(key)
-
- sg = Grid(3, 1)
- sg.setField(keyradio, 0, 0)
- sg.setField(Label(" "), 1, 0)
- sg.setField(keyentry, 2, 0, (1,0,0,0))
- g.add(sg, 0, 1)
-
- if ic.allowinstkeyskip:
- skipradio = radio.add(_("Skip entering %(instkey)s") %
- {"instkey": keyname}, "skip",
- int(self.anaconda.id.instClass.skipkey))
- g.add(skipradio, 0, 2)
-
- bb = ButtonBar(self.screen, [ TEXT_OK_BUTTON, TEXT_BACK_BUTTON ])
- g.add(bb, 0, 5, (0,1,0,0))
- rc = g.run()
- res = bb.buttonPressed(rc)
- if res == TEXT_BACK_CHECK:
- self.screen.popWindow()
- return None
- if radio.getSelection() == "skip":
- self.screen.popWindow()
- return SKIP_KEY
- key = keyentry.value()
- self.screen.popWindow()
- return key
-
-
def kickstartErrorWindow(self, text):
s = _("The following error was found while parsing the "
"kickstart configuration file:\n\n%s") %(text,)