[X2Go-Commits] [x2goclient] 01/01: Linux: Fix desktop session icons (Fixes: #911)

git-admin at x2go.org git-admin at x2go.org
Tue Jul 28 02:48:25 CEST 2015


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

x2go pushed a commit to branch master
in repository x2goclient.

commit 255d0aa02c35dd7c6b0037081482d51e3893aa6e
Author: Mike DePaulo <mikedep333 at gmail.com>
Date:   Mon Jul 27 20:47:32 2015 -0400

    Linux: Fix desktop session icons (Fixes: #911)
---
 debian/changelog        |    3 +++
 src/sessionexplorer.cpp |    2 +-
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index cd11e68..67de24b 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -106,6 +106,9 @@ x2goclient (4.0.5.0-0x2go1) UNRELEASED; urgency=low
           able to be resumed on the client on a different OS or the
           client runing on Windows with different display settings.
           (Fixes: #696)
+    - Linux: Fix desktop session icons (.desktop files) failing due to
+      missing space between "x2goclient" and its 1st argument
+      (e.g. "--session") (Fixes: #911)
 
   [ Henning Heinold ]
   * New upstream release (4.0.5.0):
diff --git a/src/sessionexplorer.cpp b/src/sessionexplorer.cpp
index 8e54028..02c5f7e 100644
--- a/src/sessionexplorer.cpp
+++ b/src/sessionexplorer.cpp
@@ -196,7 +196,7 @@ void SessionExplorer::slotCreateDesktopIcon ( SessionButton* bt )
 
     QTextStream out ( &file );
     out << "[Desktop Entry]\n"<<
-        "Exec="<<cmd<<args.join (" ")<<"\n"<<
+        "Exec="<<cmd<<" "<<args.join (" ")<<"\n"<<
         "Icon="<<sessIcon<<"\n"<<
         "Name="<<name<<"\n"<<
         "StartupNotify=true\n"<<

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


More information about the x2go-commits mailing list