diff options
author | jakub <jakub> | 2000-02-18 09:14:36 +0000 |
---|---|---|
committer | jakub <jakub> | 2000-02-18 09:14:36 +0000 |
commit | 073269d963baefc1bf0f1a2079a9661486a08281 (patch) | |
tree | 9d570be5744a9a31864809882ebddf318889ca51 /todo.py | |
parent | 3f207d88875acf776e2e37ed27e88a09d585517b (diff) | |
download | anaconda-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.py | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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 |