diff options
-rwxr-xr-x | anaconda | 12 | ||||
-rw-r--r-- | splashscreen.py | 12 |
2 files changed, 12 insertions, 12 deletions
@@ -408,18 +408,6 @@ if display_mode == 'g': else: xcfg = xserver.startX (runres, nofbmode, videohw, monitorhw, mousehw) - - #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 except RuntimeError: print " X startup failed, falling back to text mode" 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) |