summaryrefslogtreecommitdiffstats
path: root/gui.py
diff options
context:
space:
mode:
authorDavid Cantrell <dcantrell@redhat.com>2006-01-25 19:22:22 +0000
committerDavid Cantrell <dcantrell@redhat.com>2006-01-25 19:22:22 +0000
commitfdb03cfc4a02b8279d9c5a72c6723173db387176 (patch)
tree4a066a3fadc081461c113b228a424b345d309da5 /gui.py
parent840e3de69e9546b9603647c852918a51fe0de4a1 (diff)
downloadanaconda-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-xgui.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/gui.py b/gui.py
index 7a341f84a..becd5f0ce 100755
--- a/gui.py
+++ b/gui.py
@@ -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