ports/net/service-discovery-applet/files/patch-plugins_xvncviewer.py
Joe Marcus Clarke 9ba457eba9 Add service-discovery-applet, a GNOME applet for viewing available network
services advertised via mDNS (aka Bonjour, Zeroconf, Rendezvous).
2006-05-06 23:09:26 +00:00

17 lines
779 B
Python

--- plugins/xvncviewer.py.orig Sat May 6 15:19:12 2006
+++ plugins/xvncviewer.py Sat May 6 15:20:13 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 = ["xvncviewer", "-xrm", "*passwordDialog:true", hostname ]
+ print "connecting using vncviewer"
+ cmdline = ["vncviewer", "-xrm", "*passwordDialog:true",]
print cmdline
pid = subprocess.Popen(cmdline, close_fds=True).pid