diff options
author | Chris Lumens <clumens@redhat.com> | 2006-05-04 19:58:53 +0000 |
---|---|---|
committer | Chris Lumens <clumens@redhat.com> | 2006-05-04 19:58:53 +0000 |
commit | 9e1a444c46abcfc29c2e44ffd102fcc1eda6289e (patch) | |
tree | fc10e993fe6c8292fbd0cb57fb6ad4135b0a8fad /textw/confirm_text.py | |
parent | 2d90bc12dcc682a7f0ff68e599cbb81a34a0b4a3 (diff) | |
download | anaconda-9e1a444c46abcfc29c2e44ffd102fcc1eda6289e.tar.gz anaconda-9e1a444c46abcfc29c2e44ffd102fcc1eda6289e.tar.xz anaconda-9e1a444c46abcfc29c2e44ffd102fcc1eda6289e.zip |
Make all UI steps use anaconda class. Add system-config-keyboard shim.
Diffstat (limited to 'textw/confirm_text.py')
-rw-r--r-- | textw/confirm_text.py | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/textw/confirm_text.py b/textw/confirm_text.py index 20378b789..b28597915 100644 --- a/textw/confirm_text.py +++ b/textw/confirm_text.py @@ -18,7 +18,7 @@ from rhpl.translate import _ from image import presentRequiredMediaMessage class BeginInstallWindow: - def __call__ (self, screen, intf, id): + def __call__ (self, screen, anaconda): rc = ButtonChoiceWindow (screen, _("Installation to begin"), _("A complete log of your installation will be in " "%s after rebooting your system. You " @@ -28,11 +28,11 @@ class BeginInstallWindow: if rc == string.lower (_("Back")): return INSTALL_BACK - if id.methodstr.startswith("cdrom://") and (id.instClass.name and id.instClass.name != "kickstart"): - rc = presentRequiredMediaMessage(intf, id.grpset) + if anaconda.methodstr.startswith("cdrom://") and not anaconda.isKickstart: + rc = presentRequiredMediaMessage(anaconda.intf, anaconda.id.grpset) if rc == 0: - rc2 = intf.messageWindow(_("Reboot?"), + rc2 = anaconda.intf.messageWindow(_("Reboot?"), _("The system will be rebooted now."), type="custom", custom_icon="warning", custom_buttons=[_("_Back"), _("_Reboot")]) @@ -46,7 +46,7 @@ class BeginInstallWindow: return INSTALL_OK class BeginUpgradeWindow: - def __call__ (self, screen, intf, id) : + def __call__ (self, screen, anaconda): rc = ButtonChoiceWindow (screen, _("Upgrade to begin"), _("A complete log of your upgrade will be in " "%s after rebooting your system. You " @@ -56,11 +56,11 @@ class BeginUpgradeWindow: if rc == string.lower (_("Back")): return INSTALL_BACK - if id.methodstr.startswith("cdrom://") and (id.instClass.name and id.instClass.name != "kickstart"): - rc = presentRequiredMediaMessage(intf, id.grpset) + if anaconda.methodstr.startswith("cdrom://") and not anaconda.isKickstart: + rc = presentRequiredMediaMessage(anaconda.intf, anaconda.id.grpset) if rc == 0: - rc2 = intf.messageWindow(_("Reboot?"), + rc2 = anaconda.intf.messageWindow(_("Reboot?"), _("The system will be rebooted now."), type="custom", custom_icon="warning", custom_buttons=[_("_Back"), _("_Reboot")]) |