This is an automated email from the git hooks/post-receive script. x2go pushed a commit to branch master in repository pyhoca-gui. commit 1efc52bce3cda5eeb2f42352acc92d56923639d0 Author: Mike Gabriel <mike.gabriel@das-netzwerkteam.de> Date: Mon Mar 17 14:16:45 2014 +0100 Focus the user name field on logon if no user name is stored in the session profile. --- debian/changelog | 2 ++ pyhoca/wxgui/logon.py | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/debian/changelog b/debian/changelog index 4aefea7..22de7e4 100644 --- a/debian/changelog +++ b/debian/changelog @@ -24,6 +24,8 @@ pyhoca-gui (0.5.0.0-0x2go1) UNRELEASED; urgency=low - Show printing preferences when tray icon is in restricted mode. - Session profile manager: the host parameter will be of type ListType for future versions of Python X2Go (>= 0.5.0.0). + - Focus the user name field on logon if no user name is stored in the + session profile. -- Mike Gabriel <mike.gabriel@das-netzwerkteam.de> Wed, 08 Jan 2014 21:28:37 +0100 diff --git a/pyhoca/wxgui/logon.py b/pyhoca/wxgui/logon.py index 511ee53..17f03ef 100644 --- a/pyhoca/wxgui/logon.py +++ b/pyhoca/wxgui/logon.py @@ -191,8 +191,8 @@ class PyHocaGUI_DialogBoxPassword(wx.Dialog): if self.current_profile_config.has_key('user'): self.userTxt.SetValue(self.current_profile_config['user']) - else: - self.userTxt.SetValue(self._PyHocaGUI.args.username) + if not self.current_profile_config['user'] and not self.sshproxy_auth: + self.userTxt.SetFocus() if self.sshproxy_auth: -- Alioth's /srv/git/_hooks_/post-receive-email on /srv/git/code.x2go.org/pyhoca-gui.git