From d5bf17cea27098e846075efe470a955913ec504e Mon Sep 17 00:00:00 2001 From: marcus Date: Wed, 11 Oct 2006 05:53:58 +0000 Subject: Sync with ports. git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@7712 df743ca5-7f9a-e211-a948-0013205c9059 --- .../files/patch-plugins_gconfterminal.py.in | 11 +++++++++++ .../files/patch-plugins_xvncviewer.py.in | 17 +++++++++++++++++ 2 files changed, 28 insertions(+) create mode 100644 net/service-discovery-applet/files/patch-plugins_gconfterminal.py.in create mode 100644 net/service-discovery-applet/files/patch-plugins_xvncviewer.py.in (limited to 'net/service-discovery-applet') 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 + -- cgit