summaryrefslogtreecommitdiffstats
path: root/plugins/gnometerminal.py
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/gnometerminal.py')
-rw-r--r--plugins/gnometerminal.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/plugins/gnometerminal.py b/plugins/gnometerminal.py
index d97a320..01fd83f 100644
--- a/plugins/gnometerminal.py
+++ b/plugins/gnometerminal.py
@@ -95,7 +95,9 @@ class plugin_gnometerminal:
return store
- 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 gnometerminal"
if txts.has_key("u"):
username = self.SshLogin(name, txts["u"])