6976596 gui installer interface does not allow to go back from mandatory fields
authorJohn Fischer <john.fischer@oracle.com>
Fri, 15 Jul 2011 14:05:20 -0700
changeset 1291 af77d1e476b6
parent 1290 cfaa7349f221
child 1292 f4fedd639846
6976596 gui installer interface does not allow to go back from mandatory fields
usr/src/cmd/gui-install/src/user_screen.py
--- a/usr/src/cmd/gui-install/src/user_screen.py	Fri Jul 15 00:22:29 2011 -0700
+++ b/usr/src/cmd/gui-install/src/user_screen.py	Fri Jul 15 14:05:20 2011 -0700
@@ -145,7 +145,6 @@
             self.saved_msg = err
             self.saved_msg_type = 'account'
             self.loginnameinfoimage.show_all()
-            widget.grab_focus()
 
     def password_changed(self, widget=None, data=None):
         '''callback for the user password change events'''
@@ -219,9 +218,6 @@
 
                 # show the error image
                 self.userpasswordinfoimage.show_all()
-
-                # give the password entry the focus to correct the error.
-                user_password.grab_focus()
             else:
                 # no error, so hide the label and error image
                 self.userpasswordinfolabel.hide_all()
@@ -257,9 +253,6 @@
             self.saved_msg = msg
             self.saved_msg_type = 'host'
 
-            # give the hostname entry the focus to correct the error.
-            widget.grab_focus()
-
     def go_back(self):
         '''method from the super that deals with
            the back button being pressed'''