diff options
author | Chris Lumens <clumens@redhat.com> | 2007-01-15 21:40:31 +0000 |
---|---|---|
committer | Chris Lumens <clumens@redhat.com> | 2007-01-15 21:40:31 +0000 |
commit | 8d60cd6e1a90a44f630aa7145c8993699fd086fc (patch) | |
tree | 89c70ec6e1ec39ae8ce0c73eed56618a4d883808 | |
parent | 8866cd9fe63821221dac0d5a4184a083b1af0226 (diff) | |
download | anaconda-8d60cd6e1a90a44f630aa7145c8993699fd086fc.tar.gz anaconda-8d60cd6e1a90a44f630aa7145c8993699fd086fc.tar.xz anaconda-8d60cd6e1a90a44f630aa7145c8993699fd086fc.zip |
Don't display the unsupported language message box in non-interactive kickstart
installs (#222096).
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | text.py | 14 |
2 files changed, 14 insertions, 5 deletions
@@ -1,3 +1,8 @@ +2007-01-15 Chris Lumens <clumens@redhat.com> + + * text.py (InstallInterface.run): Don't display the unsupported + language message box in non-interactive kickstart installs (#222096). + 2007-01-15 Dave Lehman <dlehman@redhat.com> * yuminstall.py (doPostSelection): don't pop the depsolver progress @@ -505,11 +505,15 @@ class InstallInterface: instLang = anaconda.id.instLanguage if instLang.getFontFile(instLang.getCurrent()) == "none": - ButtonChoiceWindow(self.screen, "Language Unavailable", - "%s display is unavailable in text mode. " - "The installation will continue in " - "English." % (instLang.getCurrent(),), - buttons=[TEXT_OK_BUTTON]) + if self.anaconda.isKickstart and not self.anaconda.id.instClass.ksdata.interactive: + log.warning("%s display is unavailable in text mode. The " + "installation will continue in English.") + else: + ButtonChoiceWindow(self.screen, "Language Unavailable", + "%s display is unavailable in text mode. " + "The installation will continue in " + "English." % (instLang.getCurrent(),), + buttons=[TEXT_OK_BUTTON]) self.screen.helpCallback(self.helpWindow) |