diff options
author | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2006-10-11 13:53:58 +0800 |
---|---|---|
committer | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2006-10-11 13:53:58 +0800 |
commit | d5bf17cea27098e846075efe470a955913ec504e (patch) | |
tree | caa0e48fa0cd5c665efe0af6573b2c0e491a165e /net | |
parent | 68e7750ec7dbdcfbd92e8ee1d78352bc7d70f68e (diff) | |
download | marcuscom-ports-d5bf17cea27098e846075efe470a955913ec504e.tar.gz marcuscom-ports-d5bf17cea27098e846075efe470a955913ec504e.tar.zst marcuscom-ports-d5bf17cea27098e846075efe470a955913ec504e.zip |
Sync with ports.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@7712 df743ca5-7f9a-e211-a948-0013205c9059
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 + |