summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Droege <slomo@ubuntu.com>2006-02-22 11:38:27 +0000
committerSebastian Droege <slomo@ubuntu.com>2006-02-22 11:38:27 +0000
commit3f207de8d3d5ec2018e46c3b7b0c94f7da7e11ef (patch)
treec05d95c95de895edfc2db5e36b611c234c0faf2a
parent4fd23c3a9c27333fdf82fdedf63932141cecdb06 (diff)
* add the -X for the ssh plugin at the correct position...
git-svn-id: file:///home/lennart/svn/public/service-discovery-applet/trunk@91 3be567f1-68ff-0310-b24a-ad7cc433fd2f
-rw-r--r--plugins/gnometerminal.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/plugins/gnometerminal.py b/plugins/gnometerminal.py
index b6ce06f..306173f 100644
--- a/plugins/gnometerminal.py
+++ b/plugins/gnometerminal.py
@@ -112,14 +112,13 @@ class plugin_gnometerminal:
if username == None:
return
elif username != "":
- sshline = "%s -p %i %s@%s" % (scheme, port, username, address)
+ sshline = "%s -X -p %i %s@%s" % (scheme, port, username, address)
else:
- sshline = "%s -p %i %s " % (scheme, port, address)
+ sshline = "%s -X -p %i %s " % (scheme, port, address)
cmdline = []
cmdline.append("gnome-terminal")
cmdline.append("--tab")
- cmdline.append("-X")
cmdline.append("-t %s" % name)
cmdline.append("-e %s" % sshline)
print cmdline