summaryrefslogtreecommitdiffstats
path: root/gui.py
diff options
context:
space:
mode:
authorpnfisher <pnfisher>1999-09-10 00:23:54 +0000
committerpnfisher <pnfisher>1999-09-10 00:23:54 +0000
commit1f6125a4cd056317833c886bef869db4d0f148c2 (patch)
treee5104e099185afbec1e365037665711fcd4c3318 /gui.py
parent60aa6de7eb17bc2f3ec6428cc2934ff8d439a472 (diff)
downloadanaconda-1f6125a4cd056317833c886bef869db4d0f148c2.tar.gz
anaconda-1f6125a4cd056317833c886bef869db4d0f148c2.tar.xz
anaconda-1f6125a4cd056317833c886bef869db4d0f148c2.zip
Allow kickstart to bypass all screens and go straight to the install.
Diffstat (limited to 'gui.py')
-rwxr-xr-xgui.py8
1 files changed, 5 insertions, 3 deletions
diff --git a/gui.py b/gui.py
index d7f3f55e3..ce0b20ad7 100755
--- a/gui.py
+++ b/gui.py
@@ -278,9 +278,12 @@ class InstallControlWindow (Thread):
self.html.source (ics.getHTML ())
def __init__ (self, ii, steps, todo):
+ Thread.__init__ (self)
self.ii = ii
self.todo = todo
+ self.steps = steps
+ def run (self):
threads_enter ()
self.window = GtkWindow ()
@@ -335,7 +338,7 @@ class InstallControlWindow (Thread):
self.windowList = []
- self.setStateList (steps, 0)
+ self.setStateList (self.steps, 0)
self.currentScreen = self.stateList[self.stateListIndex]
self.initialScreenShown = 0
self.setScreen (self.currentScreen, self.nextClicked)
@@ -351,9 +354,8 @@ class InstallControlWindow (Thread):
self.window.add (vbox)
threads_leave ()
- Thread.__init__ (self)
- def run (self):
+ # let her rip...
self.mutex = allocate_lock ()
self.mutex.acquire ()