diff options
author | Chris Lumens <clumens@redhat.com> | 2011-03-10 13:29:19 -0500 |
---|---|---|
committer | Chris Lumens <clumens@redhat.com> | 2011-03-11 10:12:41 -0500 |
commit | 9fb0856f0a96ea9ac0ecfb81ebca9cf1a7996487 (patch) | |
tree | e5de97a8d6d5094a6671dc2050a609491c005a59 | |
parent | 848d51e530bfda0f1e0a3b8c973ab6773adb5c7e (diff) | |
download | anaconda-9fb0856f0a96ea9ac0ecfb81ebca9cf1a7996487.tar.gz anaconda-9fb0856f0a96ea9ac0ecfb81ebca9cf1a7996487.tar.xz anaconda-9fb0856f0a96ea9ac0ecfb81ebca9cf1a7996487.zip |
Pressing enter on the keyboard screen should go to the next screen (#683448).
-rw-r--r-- | pyanaconda/iw/kbd_gui.py | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/pyanaconda/iw/kbd_gui.py b/pyanaconda/iw/kbd_gui.py index 95fc10651..83ccaffb7 100644 --- a/pyanaconda/iw/kbd_gui.py +++ b/pyanaconda/iw/kbd_gui.py @@ -30,10 +30,15 @@ class KeyboardWindow(InstallWindow, installKeyboardWindow): InstallWindow.__init__(self, ics) installKeyboardWindow.__init__(self) + ics.cw.mainxml.get_widget("nextButton").grab_focus() + def getNext(self): installKeyboardWindow.getNext(self) def getScreen(self, anaconda): default = anaconda.instLanguage.getDefaultKeyboard(anaconda.rootPath) anaconda.keyboard.set(default) - return installKeyboardWindow.getScreen(self, default, anaconda.keyboard) + vbox = installKeyboardWindow.getScreen(self, default, anaconda.keyboard) + self.modelView.connect("select-cursor-row", lambda widget, vbox=vbox: self.ics.setGrabNext(1)) + + return vbox |