diff options
author | Mike Fulbright <msf@redhat.com> | 2003-10-02 20:11:19 +0000 |
---|---|---|
committer | Mike Fulbright <msf@redhat.com> | 2003-10-02 20:11:19 +0000 |
commit | 59a013fa607386b7c406c1e20b3253c139f91497 (patch) | |
tree | ed2dba50ae9d9bea460dd8c62613e253f02efe5b | |
parent | db4ae331ce19138951282c49350e90b36311a9e9 (diff) | |
download | anaconda-59a013fa607386b7c406c1e20b3253c139f91497.tar.gz anaconda-59a013fa607386b7c406c1e20b3253c139f91497.tar.xz anaconda-59a013fa607386b7c406c1e20b3253c139f91497.zip |
take screenshot when autostepping and remove title from right hand pane
-rwxr-xr-x | gui.py | 10 |
1 files changed, 7 insertions, 3 deletions
@@ -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() |