summaryrefslogtreecommitdiffstats
path: root/todo.py
diff options
context:
space:
mode:
authorjakub <jakub>2000-02-18 09:14:36 +0000
committerjakub <jakub>2000-02-18 09:14:36 +0000
commit073269d963baefc1bf0f1a2079a9661486a08281 (patch)
tree9d570be5744a9a31864809882ebddf318889ca51 /todo.py
parent3f207d88875acf776e2e37ed27e88a09d585517b (diff)
downloadanaconda-073269d963baefc1bf0f1a2079a9661486a08281.tar.gz
anaconda-073269d963baefc1bf0f1a2079a9661486a08281.tar.xz
anaconda-073269d963baefc1bf0f1a2079a9661486a08281.zip
Load font and keymap if font/keymap TUI selection is done in python and not
in the loader.
Diffstat (limited to 'todo.py')
-rw-r--r--todo.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/todo.py b/todo.py
index 154c09346..342cbc030 100644
--- a/todo.py
+++ b/todo.py
@@ -203,11 +203,13 @@ class Language (SimpleConfigFile):
lines = f.readlines ()
f.close()
self.langs = {}
+ self.font = {}
for line in lines:
string.strip(line)
l = string.split(line)
self.langs[l[0]] = l[4]
+ self.font[l[0]] = l[2]
# kickstart needs this
self.abbrevMap = {}
@@ -233,6 +235,9 @@ class Language (SimpleConfigFile):
def get (self):
return self.lang
+ def getFont (self, lang):
+ return self.font[lang]
+
class Authentication:
def __init__ (self):
self.useShadow = 1