diff options
author | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2008-02-13 16:52:22 (GMT) |
---|---|---|
committer | Morgan Collett <morgan.collett@gmail.com> | 2008-02-15 12:09:03 (GMT) |
commit | 93d13d2faa4f6424a443da4496a1d41d44fe3e0d (patch) | |
tree | 76989fc9ffdf8eb8b5501492f371a43cd50c1791 | |
parent | 1351084b0cd16c5bb92d5689da3f11ada3c7cee6 (diff) |
linklocal_plugin: emit the want-to-connect signal instead of directly start the connect process
-rw-r--r-- | src/linklocal_plugin.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/linklocal_plugin.py b/src/linklocal_plugin.py index b741d02..0fd914c 100644 --- a/src/linklocal_plugin.py +++ b/src/linklocal_plugin.py @@ -78,7 +78,7 @@ class LinkLocalPlugin(TelepathyPlugin): else: _logger.info('Avahi appeared on the system bus (%s) - ' 'starting...', unique_name) - self.start() + self.emit('want-to-connect') else: self._have_avahi = False if had_avahi: @@ -207,7 +207,7 @@ class LinkLocalPlugin(TelepathyPlugin): self._have_to_wait_id = 0 _logger.debug("Timeout elapsed. Salut can connect now") - self.start() + self.emit('want-to-connect') def _ip4_address_changed_cb(self, ip4am, address, iface): TelepathyPlugin._ip4_address_changed_cb(self, ip4am, address, iface) |