diff options
author | Jeremy Katz <katzj@redhat.com> | 2003-02-17 20:15:20 +0000 |
---|---|---|
committer | Jeremy Katz <katzj@redhat.com> | 2003-02-17 20:15:20 +0000 |
commit | 920650ac62c5d92adbf421e323a88ed8c2ef5890 (patch) | |
tree | 1e037104cfd5f1fa7ebbc7f64b8c8533e1f02c62 /installclass.py | |
parent | 35b171673ce532a5741a850007df195edb31ead2 (diff) | |
download | anaconda-920650ac62c5d92adbf421e323a88ed8c2ef5890.tar.gz anaconda-920650ac62c5d92adbf421e323a88ed8c2ef5890.tar.xz anaconda-920650ac62c5d92adbf421e323a88ed8c2ef5890.zip |
I haven't seen this, but if we're going to fallback on resolution, we should
on depth as well (#81197)
Diffstat (limited to 'installclass.py')
-rw-r--r-- | installclass.py | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/installclass.py b/installclass.py index 815acd9c8..4308984f5 100644 --- a/installclass.py +++ b/installclass.py @@ -30,7 +30,7 @@ class BaseInstallClass: # default to not being hidden hidden = 0 pixmap = None - showMinimal = 0 + showMinimal = 1 showLoginChoice = 0 description = None @@ -313,7 +313,9 @@ class BaseInstallClass: id.langSupport.setDefault(id.langSupport.getLangNameByNick(default)) def setLanguage(self, id, lang): + print "lang is ", lang instLangName = id.instLanguage.getLangNameByNick(lang) + print "instlangname is ", instLangName id.instLanguage.setRuntimeLanguage(instLangName) def setDesktop(self, id, desktop): @@ -424,8 +426,9 @@ class BaseInstallClass: if resolution and depth: if depth not in availableDepths: - raise RuntimeError, "Invalid depth specified" - # XXX should we fallback to our "best possible" here? + log("Requested depth %s not available, falling back to %s" + %(depth, availableDepths[-1])) + depth = availableDepths[-1] xcfg.set_colordepth(depth) availableRes = xcfg.available_resolutions() |