diff options
author | Matt Wilson <msw@redhat.com> | 2001-02-14 08:12:15 +0000 |
---|---|---|
committer | Matt Wilson <msw@redhat.com> | 2001-02-14 08:12:15 +0000 |
commit | 81203364f1933a0644038b0a8752b1983e2b2e70 (patch) | |
tree | 5b28a486520e107602d9f67588c0202464adf4a3 | |
parent | ab985671350930875109429233856e43d3398fbf (diff) | |
download | anaconda-81203364f1933a0644038b0a8752b1983e2b2e70.tar.gz anaconda-81203364f1933a0644038b0a8752b1983e2b2e70.tar.xz anaconda-81203364f1933a0644038b0a8752b1983e2b2e70.zip |
grab keyboard on message windows
-rwxr-xr-x | gui.py | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -249,7 +249,8 @@ class MessageWindow: label = hbox.children ()[1] label.set_line_wrap (TRUE) self.window.set_position (WIN_POS_CENTER) - + win = self.window.get_window() + win.keyboard_grab(0) self.window.show_all () threads_leave () @@ -268,10 +269,12 @@ class MessageWindow: self.mutex = None threads_enter () self.rc = self.window.run () + win.keyboard_ungrab() threads_leave () else: self.mutex = Event () self.mutex.wait () + win.keyboard_ungrab() class InstallInterface: def __init__ (self, runres, nofbmode): |