summaryrefslogtreecommitdiffstats
path: root/iw
diff options
context:
space:
mode:
authorMike Fulbright <msf@redhat.com>1999-11-16 23:46:37 +0000
committerMike Fulbright <msf@redhat.com>1999-11-16 23:46:37 +0000
commit4875f5dc08040620146971dc2056dcb996c104a2 (patch)
tree1f146a1300f3dbcd7d3d59c1f004f173956afc4a /iw
parent94c746ecd825a8b8024da0f553cd36be8d9153c8 (diff)
downloadanaconda-4875f5dc08040620146971dc2056dcb996c104a2.tar.gz
anaconda-4875f5dc08040620146971dc2056dcb996c104a2.tar.xz
anaconda-4875f5dc08040620146971dc2056dcb996c104a2.zip
Added ugly hack to write configuration data when in unconfig mode.
Should really go somewhere else... Dr Mike
Diffstat (limited to 'iw')
-rw-r--r--iw/congrats.py26
1 files changed, 19 insertions, 7 deletions
diff --git a/iw/congrats.py b/iw/congrats.py
index 581990f5b..f16ecf59b 100644
--- a/iw/congrats.py
+++ b/iw/congrats.py
@@ -28,13 +28,25 @@ class CongratulationWindow (InstallWindow):
a.set (0.5, 0.5, 1.0, 1.0)
hbox.pack_start (a, FALSE)
- label = GtkLabel(_("Congratulations, installation is complete.\n\n"
- "Remove the boot media and "
- "press return to reboot. For information on fixes which are "
- "available for this release of Red Hat Linux, consult the "
- "Errata available from http://www.redhat.com.\n\n"
- "Information on configuring your system is available in the post "
- "install chapter of the Official Red Hat Linux User's Guide."))
+ if not self.ics.cw.todo.unconfigOnly:
+ label = GtkLabel(_("Congratulations, installation is complete.\n\n"
+ "Remove the boot media and "
+ "press return to reboot. For information on fixes which are "
+ "available for this release of Red Hat Linux, consult the "
+ "Errata available from http://www.redhat.com.\n\n"
+ "Information on configuring your system is available in the post "
+ "install chapter of the Official Red Hat Linux User's Guide."))
+ else:
+ print "congrats.py: wrote configuration data"
+ self.ics.cw.todo.writeConfiguration()
+
+ label = GtkLabel(_("Congratulations, configuration is complete.\n\n"
+ "For information on fixes which are "
+ "available for this release of Red Hat Linux, consult the "
+ "Errata available from http://www.redhat.com.\n\n"
+ "Information on further configuring your system is available in the post "
+ "install chapter of the Official Red Hat Linux User's Guide."))
+
label.set_line_wrap (TRUE)
label.set_alignment (0.0, 0.5)