summaryrefslogtreecommitdiffstats
path: root/splashscreen.py
diff options
context:
space:
mode:
authorMatt Wilson <msw@redhat.com>2001-07-10 08:36:48 +0000
committerMatt Wilson <msw@redhat.com>2001-07-10 08:36:48 +0000
commitdf52094ef694b0f4ad2ac2873904e6ef2b4e3928 (patch)
tree3ebe408204c68a8721a1b3e22deb6f833f14e051 /splashscreen.py
parente4dcdec4bf2fe5fb8942a8a2f2f841ce2eac0b3c (diff)
downloadanaconda-df52094ef694b0f4ad2ac2873904e6ef2b4e3928.tar.gz
anaconda-df52094ef694b0f4ad2ac2873904e6ef2b4e3928.tar.xz
anaconda-df52094ef694b0f4ad2ac2873904e6ef2b4e3928.zip
move xsetroot to after we connect to the X server.
Diffstat (limited to 'splashscreen.py')
-rw-r--r--splashscreen.py12
1 files changed, 12 insertions, 0 deletions
diff --git a/splashscreen.py b/splashscreen.py
index 5fe08667b..fdccdbf1c 100644
--- a/splashscreen.py
+++ b/splashscreen.py
@@ -26,6 +26,18 @@ import GdkImlib
splashwindow = None
def splashScreenShow(configFileData):
+ #set the background to a dark gray
+ path = ("/usr/X11R6/bin/xsetroot",)
+ args = ("-solid", "gray45")
+
+ child = os.fork ()
+ if (child == 0):
+ os.execv (path[0], path + args)
+ try:
+ pid, status = os.waitpid(child, 0)
+ except OSError, (errno, msg):
+ print __name__, "waitpid:", msg
+
root = _root_window ()
cursor = cursor_new (GDK.LEFT_PTR)
root.set_cursor (cursor)