*** /home/ses/Desktop/original_nautilus.py 2008-12-05 17:32:44.000000000 +0100 --- /usr/share/service-discovery-applet/plugins/nautilus.py 2008-12-05 17:37:49.000000000 +0100 *************** *** 1,4 **** ! # -*- coding: UTF-8 -*- # -*- python -*- # Copyright (C) 2005 by Sebastien Estienne # --- 1,4 ---- ! # -*- coding: utf-8 -*- # -*- python -*- # Copyright (C) 2005 by Sebastien Estienne # *************** *** 17,23 **** class plugin_nautilus: def __init__(self): ! self.service_type = ["_http._tcp", "_ftp._tcp" , "_https._tcp", "_ftps._tcp" , "_webdav._tcp", "_webdavs._tcp", "_sftp-ssh._tcp"] self.author = "Sébastien Estienne" self.description = "Accessing zeroconf services using Nautilus" --- 17,23 ---- class plugin_nautilus: def __init__(self): ! self.service_type = ["_http._tcp", "_ftp._tcp" , "_https._tcp", "_ftps._tcp" , "_webdav._tcp", "_webdavs._tcp", "_sftp-ssh._tcp", "_smb._tcp"] self.author = "Sébastien Estienne" self.description = "Accessing zeroconf services using Nautilus" *************** *** 42,47 **** --- 42,49 ---- url = build_url("dav",address,port, path, username,password) if stype == "_webdavs._tcp": url = build_url("davs",address,port, path, username,password) + if stype == "_smb._tcp": + url = build_url("smb", address, port, path, username, password) cmdline = ["nautilus", url ] subprocess.Popen(cmdline).wait()