Home
Reading
Searching
Subscribe
Sponsors
Statistics
Posting
Contact
Spam
Lists
Links
About
Hosting
Filtering
Features Download
Marketing
Archives
FAQ
Blog
 
Gmane
From: <git-admin-P0WSJaAXTow <at> public.gmane.org>
Subject: [x2goclient] 01/01: Allow starting shadow sessions from the command line with option --hidden being enabled. (Fixes: #349).
Newsgroups: gmane.linux.terminal-server.x2go.scm
Date: Friday 28th March 2014 23:31:54 UTC (over 2 years ago)
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

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
_______________________________________________
X2Go-commits mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/x2go-commits
 
CD: 13ms