summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastien Estienne <sebastien.estienne@gmail.com>2006-03-27 18:55:03 +0000
committerSebastien Estienne <sebastien.estienne@gmail.com>2006-03-27 18:55:03 +0000
commit2f3890902b677c7ce519d8cbd8d5361ec7b286c5 (patch)
tree1ae2b15528555ed6b6c8071b93a2e9d9536c6833
parentcc7c428801b8cd385ae4669bfabe7966d107fbe0 (diff)
fix a bug with vnc plugins
git-svn-id: file:///home/lennart/svn/public/service-discovery-applet/trunk@102 3be567f1-68ff-0310-b24a-ad7cc433fd2f
-rw-r--r--plugins/xvncviewer.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/plugins/xvncviewer.py b/plugins/xvncviewer.py
index 0a8c696..3e6daa6 100644
--- a/plugins/xvncviewer.py
+++ b/plugins/xvncviewer.py
@@ -22,12 +22,10 @@ class plugin_xvncviewer:
self.description = "Start a VNC connections with xvncviewer"
def connect(self, use_host_names, name, stype, hostname, address, port, txts):
- if use_host_names == True:
- address = hostname
print "connecting using xvncviewer"
- cmdline = ["xvncviewer", "-xrm", "*passwordDialog:true", hostname, "&"]
+ cmdline = ["xvncviewer", "-xrm", "*passwordDialog:true", hostname ]
print cmdline
- pid = subprocess.Popen(cmdline, shell=True, close_fds=True).pid
+ pid = subprocess.Popen(cmdline, close_fds=True).pid
def load():
return plugin_xvncviewer()