summaryrefslogtreecommitdiffstats
path: root/gui.py
diff options
context:
space:
mode:
authorMatt Wilson <msw@redhat.com>1999-09-24 16:19:20 +0000
committerMatt Wilson <msw@redhat.com>1999-09-24 16:19:20 +0000
commit769c9dbf446264d089525dd20fa98e32c5f2637d (patch)
tree91a8216b2bb37ad5ce95f313cb64075e086e9b67 /gui.py
parentd62f997277de0f08c9ee7cfc674a33424f894eef (diff)
downloadanaconda-769c9dbf446264d089525dd20fa98e32c5f2637d.tar.gz
anaconda-769c9dbf446264d089525dd20fa98e32c5f2637d.tar.xz
anaconda-769c9dbf446264d089525dd20fa98e32c5f2637d.zip
screen blanking, don't kill the splash so early, package selection in kickstart
Diffstat (limited to 'gui.py')
-rwxr-xr-xgui.py12
1 files changed, 4 insertions, 8 deletions
diff --git a/gui.py b/gui.py
index b33a4797b..7ceabe2cf 100755
--- a/gui.py
+++ b/gui.py
@@ -26,7 +26,7 @@ if im:
root.set_cursor (cursor)
threads_enter ()
im.render ()
- splashwindow = GtkWindow (WINDOW_POPUP)
+ splashwindow = GtkWindow ()
splashwindow.set_position (WIN_POS_CENTER)
box = GtkEventBox ()
pix = im.make_pixmap ()
@@ -38,7 +38,6 @@ if im:
splashwindow.show_all ()
while events_pending ():
mainiteration (FALSE)
- draw_rectangle(root, style.white_gc, TRUE, 0, 0, root.width, root.height)
threads_leave ()
from gnome.ui import *
@@ -221,12 +220,6 @@ class InstallInterface:
return CongratulationWindow
def run (self, todo, test = 0):
- global splashwindow
- if splashwindow:
- threads_enter ()
- splashwindow.destroy ()
- print "here"
- threads_leave ()
gtkThread = GtkMainThread ()
gtkThread.start ()
@@ -524,6 +517,9 @@ class InstallControlWindow (Thread):
# Popup the ICW and wait for it to wake us back up
threads_enter ()
self.window.show_all ()
+ global splashwindow
+ if splashwindow:
+ splashwindow.destroy ()
threads_leave ()
self.mutex.acquire ()