summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xanaconda12
-rw-r--r--splashscreen.py12
2 files changed, 12 insertions, 12 deletions
diff --git a/anaconda b/anaconda
index 78b40d83e..d79f8907b 100755
--- a/anaconda
+++ b/anaconda
@@ -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)