From 2f3890902b677c7ce519d8cbd8d5361ec7b286c5 Mon Sep 17 00:00:00 2001 From: Sebastien Estienne Date: Mon, 27 Mar 2006 18:55:03 +0000 Subject: fix a bug with vnc plugins git-svn-id: file:///home/lennart/svn/public/service-discovery-applet/trunk@102 3be567f1-68ff-0310-b24a-ad7cc433fd2f --- plugins/xvncviewer.py | 6 ++---- 1 file 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() -- cgit