summaryrefslogtreecommitdiffstats
path: root/net/service-discovery-applet/files/patch-plugins_xvncviewer.py.in
diff options
context:
space:
mode:
Diffstat (limited to 'net/service-discovery-applet/files/patch-plugins_xvncviewer.py.in')
-rw-r--r--net/service-discovery-applet/files/patch-plugins_xvncviewer.py.in17
1 files changed, 17 insertions, 0 deletions
diff --git a/net/service-discovery-applet/files/patch-plugins_xvncviewer.py.in b/net/service-discovery-applet/files/patch-plugins_xvncviewer.py.in
new file mode 100644
index 000000000..c941922ea
--- /dev/null
+++ b/net/service-discovery-applet/files/patch-plugins_xvncviewer.py.in
@@ -0,0 +1,17 @@
+--- plugins/xvncviewer.py.in.orig Sun Sep 3 20:28:54 2006
++++ plugins/xvncviewer.py.in Sun Sep 3 20:29:04 2006
+@@ -19,11 +19,11 @@ class plugin_xvncviewer:
+ def __init__(self):
+ self.service_type = ["_rfb._tcp"]
+ self.author = "Sebastien Estienne"
+- self.description = "Start a VNC connections with xvncviewer"
++ self.description = "Start a VNC connections with vncviewer"
+
+ def connect(self, use_host_names, name, stype, hostname, address, port, txts):
+- print "connecting using xvncviewer"
+- cmdline = ["@toolsdir@/exec_wrapper", "xvncviewer", "-xrm", "*passwordDialog:true", hostname ]
++ print "connecting using vncviewer"
++ cmdline = ["@toolsdir@/exec_wrapper", "vncviewer", "-xrm", "*passwordDialog:true", hostname ]
+ print cmdline
+ pid = subprocess.Popen(cmdline, close_fds=True).pid
+