summaryrefslogtreecommitdiffstats
path: root/gui.py
diff options
context:
space:
mode:
authorMike Fulbright <msf@redhat.com>2003-10-02 20:11:19 +0000
committerMike Fulbright <msf@redhat.com>2003-10-02 20:11:19 +0000
commit59a013fa607386b7c406c1e20b3253c139f91497 (patch)
treeed2dba50ae9d9bea460dd8c62613e253f02efe5b /gui.py
parentdb4ae331ce19138951282c49350e90b36311a9e9 (diff)
downloadanaconda-59a013fa607386b7c406c1e20b3253c139f91497.tar.gz
anaconda-59a013fa607386b7c406c1e20b3253c139f91497.tar.xz
anaconda-59a013fa607386b7c406c1e20b3253c139f91497.zip
take screenshot when autostepping and remove title from right hand pane
Diffstat (limited to 'gui.py')
-rwxr-xr-xgui.py10
1 files changed, 7 insertions, 3 deletions
diff --git a/gui.py b/gui.py
index 8b29c2a90..ee71f5b22 100755
--- a/gui.py
+++ b/gui.py
@@ -18,6 +18,7 @@ import os
import errno
import iutil
import string
+import time
import isys
import sys
import parted
@@ -81,8 +82,6 @@ if iutil.getArch() == 'sparc':
elif iutil.getArch() == 's390':
stepToClass["bootloader"] = ("zipl_gui", "ZiplWindow")
-
-
#
# Stuff for screenshots
#
@@ -1051,6 +1050,11 @@ class InstallControlWindow:
def handleRenderCallback(self):
self.currentWindow.renderCallback()
if flags.autostep:
+ if flags.autoscreenshot:
+ # let things settle down graphically
+ processEvents()
+ time.sleep(1)
+ takeScreenShot()
self.nextClicked()
else:
gtk.idle_remove(self.handle)
@@ -1105,7 +1109,7 @@ class InstallControlWindow:
self.update (ics)
l = gtk.Label()
- l.set_markup("<b>%s</b>" %(ics.getTitle(),))
+# l.set_markup("<b>%s</b>" %(ics.getTitle(),))
self.installFrame.set_label_widget(l)
self.installFrame.add(new_screen)
self.installFrame.show_all()