diff options
author | Jeremy Katz <katzj@redhat.com> | 2002-05-30 22:09:14 +0000 |
---|---|---|
committer | Jeremy Katz <katzj@redhat.com> | 2002-05-30 22:09:14 +0000 |
commit | 7306e8d2077e30e9234a6d08d8dd29c63732e378 (patch) | |
tree | 84996c2a5a7451d69e380ee9d5fc0ca59588a37d /textw | |
parent | b56f3b253a27034a0e456c26794cfa92f4402cb2 (diff) | |
download | anaconda-7306e8d2077e30e9234a6d08d8dd29c63732e378.tar.gz anaconda-7306e8d2077e30e9234a6d08d8dd29c63732e378.tar.xz anaconda-7306e8d2077e30e9234a6d08d8dd29c63732e378.zip |
more /mnt/sysimage surgery
Diffstat (limited to 'textw')
-rw-r--r-- | textw/xconfig_text.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/textw/xconfig_text.py b/textw/xconfig_text.py index 8bd9f7112..11a3a039c 100644 --- a/textw/xconfig_text.py +++ b/textw/xconfig_text.py @@ -63,7 +63,7 @@ class XCustomWindow: self.xconfig.setManualModes(newmodes) try: - self.xconfig.test (root="/mnt/sysimage") + self.xconfig.test (root=self.instPath) except RuntimeError: ### test failed window pass @@ -88,7 +88,8 @@ class XCustomWindow: print "Invalid widget in xconfig_text::desktopCB" - def __call__(self, screen, xconfig, monitor, videocard, desktop, comps): + def __call__(self, screen, xconfig, monitor, videocard, desktop, comps, + instPath): def numCompare (first, second): first = string.atoi (first) @@ -100,6 +101,7 @@ class XCustomWindow: return 0 self.xconfig = xconfig + self.instPath = instPath depth_list = [(_("256 Colors (8 Bit)")), (_("High Color (16 Bit)")), (_("True Color (24 Bit)"))] self.bit_depth = ["8", "16", "32"] |