diff options
author | Sebastien Estienne <sebastien.estienne@gmail.com> | 2006-08-06 23:52:31 +0000 |
---|---|---|
committer | Sebastien Estienne <sebastien.estienne@gmail.com> | 2006-08-06 23:52:31 +0000 |
commit | 27c6fade238336c61a5a01d22fe767bf664ca010 (patch) | |
tree | ab199c4381c7753a23c89289a698f15351764e96 /plugins/xvncviewer.py | |
parent | d9313c80245a75e3b023a729eacec454e580b7a8 (diff) |
display error messages when something goes wrong in plugins
git-svn-id: file:///home/lennart/svn/public/service-discovery-applet/trunk@115 3be567f1-68ff-0310-b24a-ad7cc433fd2f
Diffstat (limited to 'plugins/xvncviewer.py')
-rw-r--r-- | plugins/xvncviewer.py | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/plugins/xvncviewer.py b/plugins/xvncviewer.py deleted file mode 100644 index ee51d54..0000000 --- a/plugins/xvncviewer.py +++ /dev/null @@ -1,31 +0,0 @@ -# -*- coding: UTF-8 -*- -# -*- python -*- -# Copyright (C) 2006 by Sebastien Estienne -# -# This file may be distributed and/or modified under the terms of -# the GNU General Public License version 2 as published by -# the Free Software Foundation. -# This file is distributed without any warranty; without even the implied -# warranty of merchantability or fitness for a particular purpose. -# See "COPYING" in the source distribution for more information. -# -# $Id$ -# - -from sdapplet.pluginutils import * -import subprocess - -class plugin_xvncviewer: - def __init__(self): - self.service_type = ["_rfb._tcp"] - self.author = "Sebastien Estienne" - self.description = "Start a VNC connections with xvncviewer" - - def connect(self, use_host_names, name, stype, hostname, address, port, txts): - print "connecting using xvncviewer" - cmdline = ["xvncviewer", "-xrm", "*passwordDialog:true", hostname ] - print cmdline - pid = subprocess.Popen(cmdline, close_fds=True).pid - -def load(): - return plugin_xvncviewer() |