summaryrefslogtreecommitdiffstats
path: root/gui.py
diff options
context:
space:
mode:
authorbfox <bfox>2000-11-27 17:22:56 +0000
committerbfox <bfox>2000-11-27 17:22:56 +0000
commit246f9912faa93355a724085658aff276e6a05c4f (patch)
tree3fcc3b47e0d3b5dc844920d65a8f695a35878846 /gui.py
parentcdb2d8ffe77edee2241d501b43c97d427b36c9bb (diff)
downloadanaconda-246f9912faa93355a724085658aff276e6a05c4f.tar.gz
anaconda-246f9912faa93355a724085658aff276e6a05c4f.tar.xz
anaconda-246f9912faa93355a724085658aff276e6a05c4f.zip
Added some documentation
Diffstat (limited to 'gui.py')
-rwxr-xr-xgui.py16
1 files changed, 2 insertions, 14 deletions
diff --git a/gui.py b/gui.py
index f2c4d819a..80850c8bc 100755
--- a/gui.py
+++ b/gui.py
@@ -11,6 +11,7 @@ splashwindow = None
width = screen_width()
+#--If the xserver is running at 800x600 res or higher, use the 800x600 splash screen.
if width >= 800:
try:
im = GdkImlib.Image ("/usr/share/anaconda/pixmaps/first.png")
@@ -19,7 +20,7 @@ if width >= 800:
im = GdkImlib.Image ("pixmaps/first-lowres.png")
except:
print "Unable to load", file
-
+#--Otherwise, use the old 640x480 one
else:
try:
im = GdkImlib.Image ("/usr/share/anaconda/pixmaps/first-lowres.png")
@@ -29,19 +30,6 @@ else:
except:
print "Unable to load", file
-#else:
-# try:
-# im = GdkImlib.Image ("/usr/share/anaconda/pixmaps/first.png")
-# except:
-# try:
-# im = GdkImlib.Image ("pixmaps/first.png")
-# except:
-# print "Unable to load", file
-
-
-
-
-
if im:
threads_enter ()
im.render ()