summaryrefslogtreecommitdiffstats
path: root/iw/congrats_gui.py
diff options
context:
space:
mode:
authorMike Fulbright <msf@redhat.com>2001-08-09 16:22:21 +0000
committerMike Fulbright <msf@redhat.com>2001-08-09 16:22:21 +0000
commitf768479a06e6d8375bfe4b7e79d5511fe5cff907 (patch)
tree4c02f4889e9a75460529d7716a45ce4dac0d6880 /iw/congrats_gui.py
parentbefc28235f020a6d0e1d492f7d5a986ffafb59da (diff)
downloadanaconda-f768479a06e6d8375bfe4b7e79d5511fe5cff907.tar.gz
anaconda-f768479a06e6d8375bfe4b7e79d5511fe5cff907.tar.xz
anaconda-f768479a06e6d8375bfe4b7e79d5511fe5cff907.zip
1) dont let user go back to make boot disk screen (bugzilla #51002), and 2) Fixed congrats message on ia64 to not have info on boot disk (bugzilla #51263)
Diffstat (limited to 'iw/congrats_gui.py')
-rw-r--r--iw/congrats_gui.py14
1 files changed, 11 insertions, 3 deletions
diff --git a/iw/congrats_gui.py b/iw/congrats_gui.py
index f1ea749d8..9be3b32fc 100644
--- a/iw/congrats_gui.py
+++ b/iw/congrats_gui.py
@@ -15,6 +15,7 @@ from gtk import *
from gnome.ui import *
from iw_gui import *
from translate import _, N_
+import iutil
class CongratulationWindow (InstallWindow):
@@ -42,19 +43,26 @@ class CongratulationWindow (InstallWindow):
a.set (0.5, 0.5, 1.0, 1.0)
hbox.pack_start (a, FALSE)
+ if iutil.getArch() != "ia64":
+ bootstr = _("If you created a boot disk to use to boot your "
+ "Red Hat Linux system, insert it before you "
+ "press <Enter> to reboot.\n\n")
+ else:
+ bootstr = ""
+
+
label = GtkLabel(
_("Congratulations, your Red Hat Linux installation is "
"complete.\n\n"
"Remove any floppy diskettes you used during the "
"installation process and press <Enter> to reboot your system. "
"\n\n"
- "If you created a boot disk to use to boot your Red Hat Linux "
- "system, insert it before you press <Enter> to reboot.\n\n"
+ "%s"
"For information on errata (updates and bug fixes), visit "
"http://www.redhat.com/errata.\n\n"
"Information on using and configuring your "
"system is available in the Red Hat Linux manuals "
- "at http://www.redhat.com/support/manuals."),
+ "at http://www.redhat.com/support/manuals.") % bootstr,
)
label.set_line_wrap (TRUE)