diff options
author | Chris Lumens <clumens@redhat.com> | 2009-08-20 15:16:54 -0400 |
---|---|---|
committer | Chris Lumens <clumens@redhat.com> | 2009-08-20 15:35:50 -0400 |
commit | 3e102bc0a7ffd3ca4eb5cff354688732f443f872 (patch) | |
tree | 3d4ee77b8c83eaa39f9fdb5bbed98b06b29f0e57 /gui.py | |
parent | 162c92b4838f9769f39b0c3a85f9c6e4a38a5913 (diff) | |
download | anaconda-3e102bc0a7ffd3ca4eb5cff354688732f443f872.tar.gz anaconda-3e102bc0a7ffd3ca4eb5cff354688732f443f872.tar.xz anaconda-3e102bc0a7ffd3ca4eb5cff354688732f443f872.zip |
Fix focus grabbing on both the password and hostname screens.
Since we have the Next button grab focus immediately before drawing then
screens, we'd been relying on a complicated system of GTK signals to do
the job but that only ever worked part of the time. Instead, add a focus()
method to InstallWindow that screens can override and will set the focus
to the correct widget.
Diffstat (limited to 'gui.py')
-rwxr-xr-x | gui.py | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -1291,6 +1291,8 @@ class InstallControlWindow: self.installFrame.add(new_screen) self.installFrame.show_all() + self.currentWindow.focus() + self.handle = gobject.idle_add(self.handleRenderCallback) if self.reloadRcQueued: |