Received: (at submit) by bugs.x2go.org; 21 Apr 2013 15:32:04 +0000
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on
	ymir.das-netzwerkteam.de
X-Spam-Level: 
X-Spam-Status: No, score=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW
	autolearn=ham version=3.3.2
Received: from mail-wg0-f49.google.com (mail-wg0-f49.google.com [74.125.82.49])
	by ymir (Postfix) with ESMTPS id A66795DB20
	for <submit@bugs.x2go.org>; Sun, 21 Apr 2013 17:32:02 +0200 (CEST)
Received: by mail-wg0-f49.google.com with SMTP id x12so517690wgg.4
        for <submit@bugs.x2go.org>; Sun, 21 Apr 2013 08:32:02 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=google.com; s=20120113;
        h=x-received:from:content-type:subject:message-id:date:to
         :mime-version:x-mailer:x-gm-message-state;
        bh=cCw78KCWKqu8XW2/DTut3z6wWPqjVe/hzK1EYYcslmE=;
        b=aX60dgRKMWXXfF0fCtByIZSvI9flsZS0t4QrCb33iJOgw5qoeYbICl5YAEQg+oJ3K1
         D+a7vaeeO1d8iiCAURous35tWm0KpT17WmK/dgZk6TKMlyyXGmtglXeDb2IFSaB7PLl4
         dNedk5SK4b1Rc1M41J8v82h5f2SDEpZ1Etb4e1WyLeU0UQTBz7Fi9ab6T7aYP1VbF4r+
         gchapL2PrJGlEP3dj0wry2364v4cTE/IhNt5dqknQLjAhNks+6vlzWyfgIGHnh60GUuY
         vxL/xqLM4Xtz57c2ZlMqzCfitQ50HUlQ3DQG3FWdgUBgXESvItHVMY0sM8cc6WFM+S1g
         OoDw==
X-Received: by 10.194.176.195 with SMTP id ck3mr22450066wjc.5.1366558322349;
        Sun, 21 Apr 2013 08:32:02 -0700 (PDT)
Received: from [10.0.0.4] (46-127-89-101.dynamic.hispeed.ch. [46.127.89.101])
        by mx.google.com with ESMTPS id bk42sm35359719eeb.3.2013.04.21.08.32.01
        (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128);
        Sun, 21 Apr 2013 08:32:01 -0700 (PDT)
From: Ezra Buehler <lists@easyb.ch>
Content-Type: multipart/mixed; boundary="Apple-Mail=_664505E1-0044-4779-B7D1-5B0C29333787"
Subject: [PATCH] Fix auto resume when session type is "Single application"
Message-Id: <A498575E-05F2-4635-91E7-9B9CEC410898@easyb.ch>
Date: Sun, 21 Apr 2013 17:32:00 +0200
To: "submit@bugs.x2go.org" <submit@bugs.x2go.org>
Mime-Version: 1.0 (Mac OS X Mail 6.3 \(1503\))
X-Mailer: Apple Mail (2.1503)
X-Gm-Message-State: ALoCoQkxzkavVA/wSlMJayVymmjeq22X5A7Vh/UU/xqh894WbFlThobqK26oQ/hQ8Nfbd6uwQtr8


--Apple-Mail=_664505E1-0044-4779-B7D1-5B0C29333787
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=us-ascii

Package: x2goclient
Severity: normal
Version: HEAD
Tags: patch

Hi again,

it turns out that a feature I was longing for was actually present all alon=
g but is broken for our setup.
This patch fixes the issue that one must select a session to resume althoug=
h there is only one choice.
The problem only occurs when one has selected "Single application" as the s=
ession type and given
the full path to the application.=20

Cheers,
Ezra.


--Apple-Mail=_664505E1-0044-4779-B7D1-5B0C29333787
Content-Disposition: attachment;
	filename=0001-Fix-auto-resume-when-session-type-is-Single-applicat.patch
Content-Type: application/octet-stream;
	name="0001-Fix-auto-resume-when-session-type-is-Single-applicat.patch"
Content-Transfer-Encoding: quoted-printable

From 74d3079a6e309c51f4f6fdf13f63c119aaf0a6e9 Mon Sep 17 00:00:00 2001=0A=
From: Ezra Buehler <spam@easyb.ch>=0A=
Date: Sun, 21 Apr 2013 16:52:29 +0200=0A=
Subject: [PATCH] Fix auto resume when session type is "Single application"=
=0A=
=0A=
---=0A=
 onmainwindow.cpp |    2 +-=0A=
 1 file changed, 1 insertion(+), 1 deletion(-)=0A=
=0A=
diff --git a/onmainwindow.cpp b/onmainwindow.cpp=0A=
index 31dbc17..de50dae 100644=0A=
--- a/onmainwindow.cpp=0A=
+++ b/onmainwindow.cpp=0A=
@@ -2654,7 +2654,7 @@ void ONMainWindow::slotSelectedFromList ( SessionButt=
on* session )=0A=
         currentKey=3Dconfig.key;=0A=
     }=0A=
=20=0A=
-    selectedCommand=3Dcommand;=0A=
+    selectedCommand=3Dcommand.split("/").last();=0A=
     command=3DtransAppName ( command );=0A=
     login->setText ( userName );=0A=
     QPixmap pix ( sessIcon );=0A=
--=20=0A=
1.7.9.6 (Apple Git-31.1)=0A=
=0A=

--Apple-Mail=_664505E1-0044-4779-B7D1-5B0C29333787--
