diff options
author | David Cantrell <dcantrell@redhat.com> | 2006-01-25 19:22:22 +0000 |
---|---|---|
committer | David Cantrell <dcantrell@redhat.com> | 2006-01-25 19:22:22 +0000 |
commit | fdb03cfc4a02b8279d9c5a72c6723173db387176 (patch) | |
tree | 4a066a3fadc081461c113b228a424b345d309da5 /gui.py | |
parent | 840e3de69e9546b9603647c852918a51fe0de4a1 (diff) | |
download | anaconda-fdb03cfc4a02b8279d9c5a72c6723173db387176.tar.gz anaconda-fdb03cfc4a02b8279d9c5a72c6723173db387176.tar.xz anaconda-fdb03cfc4a02b8279d9c5a72c6723173db387176.zip |
* gui.py (InstallControlWindow.releaseNotesViewerPollExitCB):
Call present() method on main window when release notes viewer
closes. Sets toplevel focus to the main window.
* gui.py (InstallControlWindow.runReleaseNotesViewer): Lower
releaseNotesViewerPollExitCB() execution interval to 10 ms.
Diffstat (limited to 'gui.py')
-rwxr-xr-x | gui.py | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -1024,8 +1024,9 @@ class InstallControlWindow: if not still_running: self.releaseNotesViewerPid = None gobject.source_remove(self.releaseNotesViewerIdleID) - self.mainxml.get_widget("buttonBar").set_sensitive(True) + self.mainxml.get_widget("buttonBar").set_sensitive(True) self.releaseNotesModalDummy.destroy() + self.window.present() return False else: @@ -1160,7 +1161,7 @@ class InstallControlWindow: # python interpretter cannot act on signals reliably while inside # the gtk main loop. # - self.releaseNotesViewerIdleID = gobject.timeout_add(50, self.releaseNotesViewerPollExitCB, None) + self.releaseNotesViewerIdleID = gobject.timeout_add(10, self.releaseNotesViewerPollExitCB, None) self.releaseNotesViewerPid = child #desensitize button bar at bottom of screen |