[X2Go-Commits] [x2goclient] 01/01: Allow starting shadow sessions from the command line with option --hidden being enabled. (Fixes: #349).

git-admin at x2go.org git-admin at x2go.org
Sat Mar 29 00:31:54 CET 2014


This is an automated email from the git hooks/post-receive script.

x2go pushed a commit to branch master
in repository x2goclient.

commit 89b5d94ac7aa9b3fe9a9e398c60e74a8a13d095b
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date:   Sat Mar 29 00:32:04 2014 +0100

    Allow starting shadow sessions from the command line with option --hidden being enabled. (Fixes: #349).
---
 debian/changelog |    2 ++
 onmainwindow.cpp |    3 +++
 2 files changed, 5 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 14ae6df..f5db338 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -35,6 +35,8 @@ x2goclient (4.0.2.0-0x2go1) UNRELEASED; urgency=low
       nightly builds in build scripts.
     - Rename txt/git to txt/git-info (make it compliant with cmdline
       options).
+    - Allow starting shadow sessions from the command line with
+      option --hidden being enabled. (Fixes: #349).
   * debian/control:
     + Build-depend on libssh-dev (>= 0.5.4-2).
     + Bump Standards: to 3.9.5. No changes needed.
diff --git a/onmainwindow.cpp b/onmainwindow.cpp
index fbae475..1456d9d 100644
--- a/onmainwindow.cpp
+++ b/onmainwindow.cpp
@@ -4461,6 +4461,9 @@ void ONMainWindow::selectSession ( QStringList& sessions )
     sessTv->setCurrentIndex ( sessTv->model()->index ( 0, 0 ) );
     sessTv->setFocus();
     selectSessionDlg->show();
+
+    if( startHidden && shadowSession && sessTv->model()->rowCount() == 1 )
+        slotShadowSess();
 }
 
 void ONMainWindow::slotCloseSelectDlg()

--
Alioth's /srv/git/_hooks_/post-receive-email on /srv/git/code.x2go.org/x2goclient.git



More information about the x2go-commits mailing list