diff options
author | bfox <bfox> | 2001-07-02 20:06:06 +0000 |
---|---|---|
committer | bfox <bfox> | 2001-07-02 20:06:06 +0000 |
commit | 0baae10db4618879a162f0b2d614443d87d941ca (patch) | |
tree | b1fa4360547f30220c880f74e30ef8e12a1d17be /splashscreen.py | |
parent | 3ec41e9a9568ef37a42b48a8aecd7eb2ba7a228e (diff) | |
download | anaconda-0baae10db4618879a162f0b2d614443d87d941ca.tar.gz anaconda-0baae10db4618879a162f0b2d614443d87d941ca.tar.xz anaconda-0baae10db4618879a162f0b2d614443d87d941ca.zip |
retry with the config file stuff
Diffstat (limited to 'splashscreen.py')
-rw-r--r-- | splashscreen.py | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/splashscreen.py b/splashscreen.py index 30eccdd55..ae6badb07 100644 --- a/splashscreen.py +++ b/splashscreen.py @@ -24,17 +24,18 @@ import GdkImlib splashwindow = None -def splashScreenShow(): +def splashScreenShow(configFileData): root = _root_window () cursor = cursor_new (GDK.LEFT_PTR) root.set_cursor (cursor) def load_image(file): try: - im = GdkImlib.Image("/usr/share/anaconda/pixmaps/" + file) +# im = GdkImlib.Image("/usr/share/anaconda/pixmaps/" + file) + im = GdkImlib.Image("/usr/share/anaconda/" + file) except: try: - im = GdkImlib.Image("pixmaps/" + file) + im = GdkImlib.Image("" + file) except: print "Unable to load", file @@ -48,7 +49,10 @@ def splashScreenShow(): # If the xserver is running at 800x600 res or higher, use the # 800x600 splash screen. if width >= 800: - im = load_image('first.png') +# im = load_image('first.png') + image = configFileData["Splashscreen"] + print "image is ", image + im = load_image(image) else: im = load_image('first-lowres.png') |