diff options
Diffstat (limited to 'net')
-rw-r--r-- | net/service-discovery-applet/files/patch-plugins_gconfterminal.py.in | 11 | ||||
-rw-r--r-- | net/service-discovery-applet/files/patch-plugins_xvncviewer.py.in | 17 |
2 files changed, 28 insertions, 0 deletions
diff --git a/net/service-discovery-applet/files/patch-plugins_gconfterminal.py.in b/net/service-discovery-applet/files/patch-plugins_gconfterminal.py.in new file mode 100644 index 000000000..37913fa70 --- /dev/null +++ b/net/service-discovery-applet/files/patch-plugins_gconfterminal.py.in @@ -0,0 +1,11 @@ +--- plugins/gconfterminal.py.in.orig Sat May 6 18:53:01 2006 ++++ plugins/gconfterminal.py.in Sat May 6 18:53:10 2006 +@@ -16,7 +16,7 @@ from sdapplet.pluginutils import * + + try: + import gettext +- gettext.bindtextdomain("service-discovery-applet", "/usr/share/locale") ++ gettext.bindtextdomain("service-discovery-applet", "%%PREFIX%%/share/locale") + gettext.textdomain("service-discovery-applet") + _ = gettext.gettext + import pygtk 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 + |