summaryrefslogtreecommitdiffstats
path: root/text.py
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2006-02-22 20:00:32 +0000
committerJeremy Katz <katzj@redhat.com>2006-02-22 20:00:32 +0000
commit44eb3dd9f9488ebe6f214a328a8c55d7d3c73cf8 (patch)
treeadf919bcfc3d3dfc4d1297a350a6b7ee307aceca /text.py
parentda4e01fa60d0b0b0844e194e8cde5d32800b56d1 (diff)
downloadanaconda-44eb3dd9f9488ebe6f214a328a8c55d7d3c73cf8.tar.gz
anaconda-44eb3dd9f9488ebe6f214a328a8c55d7d3c73cf8.tar.xz
anaconda-44eb3dd9f9488ebe6f214a328a8c55d7d3c73cf8.zip
2006-02-22 Jeremy Katz <katzj@redhat.com>
* lang-table: Set all previously bterm using languages to "none" for the fact that we can't handle them in text-mode anymore * textw/language_text.py (LanguageWindow.__call__): Remove bterm special-casing. * text.py (InstallInterface.run): Likewise. * loader2/lang.c (setupLanguage): Likewise. * language.py (Language.fixLang): No more "bterm" font * stubs/unicode-lite.c: Don't require wlite * stubs/Makefile: Don't link against wlite * loader2/Makefile: No more linking to bterm here either * isys/lang.c: Remove bterm support code. * isys/lang.h: And declaration. * isys/Makefile (LOADLIBES): No more linking to bterm * isys/isys.c (start_bterm): Remove this * anaconda.spec (BuildPreReq): Bye-bye bogl
Diffstat (limited to 'text.py')
-rw-r--r--text.py20
1 files changed, 0 insertions, 20 deletions
diff --git a/text.py b/text.py
index b17237b73..d77c1e369 100644
--- a/text.py
+++ b/text.py
@@ -450,26 +450,6 @@ class InstallInterface:
return True
def run(self, id, dispatch):
- # set up for CJK text mode if needed
- oldlang = None
- if (flags.setupFilesystems and
- (id.instLanguage.getFontFile(id.instLanguage.getCurrent()) == "bterm")
- and self.isRealConsole()):
- log.info("starting bterm")
- rc = 1
- try:
- rc = isys.startBterm()
- time.sleep(1)
- except Exception, e:
- log.critical("got an exception starting bterm: %s" %(e,))
-
- if rc == 1:
- log.warning("unable to start bterm, falling back to english")
- oldlang = id.instLanguage.getCurrent()
- log.warning("old language was %s" %(oldlang,))
- id.instLanguage.setRuntimeLanguage("en_US.UTF-8")
- id.instLanguage.setRuntimeDefaults(oldlang)
-
if id.instLanguage.getFontFile(id.instLanguage.getCurrent()) == "none":
log.info("run: setting default runtime language")
oldlang = id.instLanguage.getCurrent()