diff options
Diffstat (limited to 'plugins/nautilus.py')
-rw-r--r-- | plugins/nautilus.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/plugins/nautilus.py b/plugins/nautilus.py index e208a8c..4cf82a2 100644 --- a/plugins/nautilus.py +++ b/plugins/nautilus.py @@ -22,7 +22,9 @@ class plugin_nautilus: self.author = "Sébastien Estienne" self.description = "Accessing zeroconf services using Nautilus" - def connect(self, name, stype, hostname, address, port, txts): + def connect(self, use_host_names, name, stype, hostname, address, port, txts): + if use_host_names == True: + address = hostname print "connecting using nautilus" path = get_txt_value(txts,"path") username = get_txt_value(txts,"u") |