summaryrefslogtreecommitdiffstats
path: root/text.py
diff options
context:
space:
mode:
authorMike Fulbright <msf@redhat.com>1999-11-29 22:55:01 +0000
committerMike Fulbright <msf@redhat.com>1999-11-29 22:55:01 +0000
commitb3465edfe4b5df72e48f1f529d632ebcb18b61da (patch)
treebd5a4eb2f57aaa99e9b4f2d8daee670cf196e7fd /text.py
parentd38bad2e2642346ba4d54c1238ddbcffedb583cd (diff)
downloadanaconda-b3465edfe4b5df72e48f1f529d632ebcb18b61da.tar.gz
anaconda-b3465edfe4b5df72e48f1f529d632ebcb18b61da.tar.xz
anaconda-b3465edfe4b5df72e48f1f529d632ebcb18b61da.zip
Moved code to write configuration data in reconfig mode into a
modified version of the congratulation screen, and restored the old congratulation screen back to its original state. Dr Mike
Diffstat (limited to 'text.py')
-rw-r--r--text.py38
1 files changed, 29 insertions, 9 deletions
diff --git a/text.py b/text.py
index cf1f1a5e6..1dc1a34a7 100644
--- a/text.py
+++ b/text.py
@@ -652,6 +652,26 @@ class FinishedWindow:
return INSTALL_OK
+
+class ReconfigFinishedWindow:
+ def __call__ (self, screen, todo):
+
+ todo.writeConfiguration()
+
+ rc = ButtonChoiceWindow (screen, _("Complete"),
+ _("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."),
+ [ _("OK") ])
+
+ return INSTALL_OK
+
class BootdiskWindow:
def __call__ (self, screen, todo):
if not todo.bootdisk:
@@ -1023,10 +1043,10 @@ class InstallInterface:
"network"],
[_("Network Setup"), NetworkWindow, (self.screen, todo),
"network"],
- [_("Mouse Configuration"), MouseWindow, (self.screen, todo),
- "mouse" ],
- [_("Mouse Configuration"), MouseDeviceWindow, (self.screen, todo),
- "mouse" ],
+# [_("Mouse Configuration"), MouseWindow, (self.screen, todo),
+# "mouse" ],
+# [_("Mouse Configuration"), MouseDeviceWindow, (self.screen, todo),
+# "mouse" ],
[_("Time Zone Setup"), TimezoneWindow,
(self.screen, todo, test), "timezone" ],
[_("Root Password"), RootPasswordWindow,
@@ -1035,11 +1055,11 @@ class InstallInterface:
(self.screen, todo), "accounts" ],
[_("Authentication"), AuthConfigWindow, (self.screen, todo),
"authentication" ],
- [_("X Configuration"), XConfigWindow, (self.screen, todo),
- "xconfig" ],
- [_("X Configuration"), XconfiguratorWindow, (self.screen, todo),
- "xconfig"],
- [_("Configuration Complete"), FinishedWindow, (self.screen,todo),
+# [_("X Configuration"), XConfigWindow, (self.screen, todo),
+# "xconfig" ],
+# [_("X Configuration"), XconfiguratorWindow, (self.screen, todo),
+# "xconfig"],
+ [_("Configuration Complete"), ReconfigFinishedWindow, (self.screen,todo),
"complete" ],
]
else: