From f074f6e5feaad861fb65df200063f278713c440c Mon Sep 17 00:00:00 2001 From: Jeremy Katz Date: Wed, 27 Apr 2005 21:39:53 +0000 Subject: 2005-04-27 Jeremy Katz * gui.py (InstallInterface.run): Don't set SUPPORTED unnecessarily (#155847) * language.py (Language.getDefault): Likewise. * text.py (InstallInterface.run): Likewise. --- ChangeLog | 5 +++++ gui.py | 4 ---- language.py | 6 ------ text.py | 4 ---- 4 files changed, 5 insertions(+), 14 deletions(-) diff --git a/ChangeLog b/ChangeLog index 421dc358a..29a5492bc 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,10 @@ 2005-04-27 Jeremy Katz + * gui.py (InstallInterface.run): Don't set SUPPORTED + unnecessarily (#155847) + * language.py (Language.getDefault): Likewise. + * text.py (InstallInterface.run): Likewise. + * iutil.py (writeRpmPlatform): patch from Joe Pruett to improve rpmarch= support (#101971) diff --git a/gui.py b/gui.py index ae0206222..3e1356403 100755 --- a/gui.py +++ b/gui.py @@ -764,10 +764,6 @@ class InstallInterface: id.fsset.registerProgressWindow(self.progressWindow) id.fsset.registerWaitWindow(self.waitWindow) - # 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(partedExceptionWindow) self.icw = InstallControlWindow (self, self.dispatch, id) diff --git a/language.py b/language.py index 1930ad17f..889eaf8f4 100644 --- a/language.py +++ b/language.py @@ -176,12 +176,6 @@ class Language: return self.default elif self.current: nick = self.getNickByName (self.current) - if nick not in self.getSupported(): - # the default language needs to be in the supported list! - s = self.getSupported() - s.append(nick) - s.sort() - self.setSupported(s) return nick else: diff --git a/text.py b/text.py index 53c9737fa..58149e0d6 100644 --- a/text.py +++ b/text.py @@ -441,10 +441,6 @@ class InstallInterface: id.fsset.registerProgressWindow(self.progressWindow) id.fsset.registerWaitWindow(self.waitWindow) - # 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 -- cgit