diff options
author | Chris Lumens <clumens@redhat.com> | 2005-04-13 18:54:39 +0000 |
---|---|---|
committer | Chris Lumens <clumens@redhat.com> | 2005-04-13 18:54:39 +0000 |
commit | 2634794d3866667e1e897c1cf2b1be34b4009f75 (patch) | |
tree | 444fef5783d043e1c5069c888de0fcde86cbed60 /text.py | |
parent | 2e1d6920edb7b4e226c691fca61c35b2961e0b45 (diff) | |
download | anaconda-2634794d3866667e1e897c1cf2b1be34b4009f75.tar.gz anaconda-2634794d3866667e1e897c1cf2b1be34b4009f75.tar.xz anaconda-2634794d3866667e1e897c1cf2b1be34b4009f75.zip |
Don't set the list of supported languages in Language.__init__ by default.
Instead, only set this list in the install interfaces if kickstart hasn't
taken care of it already.
Diffstat (limited to 'text.py')
-rw-r--r-- | text.py | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -436,8 +436,12 @@ class InstallInterface: id.fsset.registerMessageWindow(self.messageWindow) id.fsset.registerProgressWindow(self.progressWindow) id.fsset.registerWaitWindow(self.waitWindow) - id.instLanguage.setSupported([id.instLanguage.getDefault()]) - parted.exception_set_handler(self.partedExceptionWindow) + + # Don't set if kickstart already set up a supported lang list. + if not id.instLanguage.getSupported(): + id.instLanguage.setSupported([id.instLanguage.getDefault()]) + + parted.exception_set_handler(self.partedExceptionWindow) lastrc = INSTALL_OK (step, args) = dispatch.currentStep() |