This is an automated email from the git hooks/post-receive script. x2go pushed a change to branch master in repository x2goclient. from 91cf6c6 Don't show GUI dialog for --version, --help, etc, if started from terminal on linux and mac. new 5d7d996 If no user in session config, display system username in pass form. The 1 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "adds" were already present in the repository and have only been added to this reference. Summary of changes: debian/changelog | 1 + onmainwindow.cpp | 8 ++++++++ 2 files changed, 9 insertions(+) -- Alioth's /srv/git/_hooks_/post-receive-email on /srv/git/code.x2go.org/x2goclient.git
This is an automated email from the git hooks/post-receive script. x2go pushed a commit to branch master in repository x2goclient. commit 5d7d9966198d64ce7846c4f65706f9e9e178e8d7 Author: Oleksandr Shneyder <o.shneyder@phoca-gmbh.de> Date: Fri Feb 28 14:02:50 2014 +0100 If no user in session config, display system username in pass form. --- debian/changelog | 1 + onmainwindow.cpp | 8 ++++++++ 2 files changed, 9 insertions(+) diff --git a/debian/changelog b/debian/changelog index 588ad17..42c5799 100644 --- a/debian/changelog +++ b/debian/changelog @@ -12,6 +12,7 @@ x2goclient (4.0.2.0-0x2go1) UNRELEASED; urgency=low - Display more version info. Parameters --version, --git, --changelog. - Don't show GUI dialog for --version, --help, etc, if started from terminal on linux and mac. + - If no user in session config, display system username in pass form. [ Mike Gabriel ] * debian/control: diff --git a/onmainwindow.cpp b/onmainwindow.cpp index b57db9d..993f67a 100644 --- a/onmainwindow.cpp +++ b/onmainwindow.cpp @@ -5917,7 +5917,15 @@ void ONMainWindow::slotShowPassForm() pass->selectAll(); } else + { +#ifdef Q_OS_WIN + login->setText(getenv("USERNAME")); +#else + login->setText(getenv("USER")); +#endif login->setFocus(); + login->selectAll(); + } if ( !embedMode ) -- Alioth's /srv/git/_hooks_/post-receive-email on /srv/git/code.x2go.org/x2goclient.git