summaryrefslogtreecommitdiffstats
path: root/iw/account_gui.py
diff options
context:
space:
mode:
authorbfox <bfox>2001-09-19 22:03:38 +0000
committerbfox <bfox>2001-09-19 22:03:38 +0000
commit2b5f8e7506f9f94d61c995c896249eabe9344870 (patch)
tree18e066ae878856f923caa5c6d5fb2054e26188c5 /iw/account_gui.py
parent0324f2b28e598b81f743e5da42934349e5e079c4 (diff)
downloadanaconda-2b5f8e7506f9f94d61c995c896249eabe9344870.tar.gz
anaconda-2b5f8e7506f9f94d61c995c896249eabe9344870.tar.xz
anaconda-2b5f8e7506f9f94d61c995c896249eabe9344870.zip
add forwarding on <Enter> press to userWin
Diffstat (limited to 'iw/account_gui.py')
-rw-r--r--iw/account_gui.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/iw/account_gui.py b/iw/account_gui.py
index 7c41f936f..56ace8905 100644
--- a/iw/account_gui.py
+++ b/iw/account_gui.py
@@ -199,6 +199,8 @@ class AccountWindow (InstallWindow):
self.userPwLabel = GtkLabel(_("Please enter user name"))
vbox.pack_start(self.userPwLabel)
+ self.forward = lambda widget, box=userWin: box.focus (DIR_TAB_FORWARD)
+
#entry boxes
self.accountName = GtkEntry (8)
userTable.attach(self.accountName, 1, 2, 0, 1, SHRINK, SHRINK)
@@ -222,9 +224,12 @@ class AccountWindow (InstallWindow):
self.accountName.connect("changed", self.userOkay)
self.accountName.connect("insert-text", self.filter)
self.accountName.connect("activate", self.forward)
+ self.fullName.connect("activate", self.forward)
self.userPass1.connect("changed", self.userOkay)
+ self.userPass1.connect("activate", self.forward)
self.userPass2.connect("changed", self.userOkay)
-
+ self.userPass2.connect("activate", self.forward)
+
return userWin
def deleteUser(self, *args):