FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Fedora Build System

 
 
LinkBack Thread Tools
 
Old 03-11-2011, 08:20 AM
Ales Kozumplik
 
Default Pressing enter on the keyboard screen should go to the next screen (#683448).

On 03/10/2011 07:30 PM, Chris Lumens wrote:

---
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 95fc106..83ccaff 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


Ack.

Won't this just place the focus on the 'Next' button (instead of
activating it)? That's still better than what we have now.


Ales

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
 

Thread Tools




All times are GMT. The time now is 07:22 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org