link-local messager cannot be removed if avahi-python is missing
Step to reproduce : activate link-local messaging stop gajim, remove avahi-python start gajim, try to disable link-local messaging,
backtrace : Traceback (most recent call last): File "/home/misc/checkout/svn/gajim/src/config.py", line 1968, in on_enable_zeroconf_checkbutton_toggled gajim.connections[gajim.ZEROCONF_ACC_NAME].disable_account() File "/home/misc/checkout/svn/gajim/src/common/zeroconf/connection_zeroconf.py", line 147, in disable_account self.disconnect() File "/home/misc/checkout/svn/gajim/src/common/zeroconf/connection_zeroconf.py", line 251, in disconnect self.connection.disconnect() File "/home/misc/checkout/svn/gajim/src/common/zeroconf/client_zeroconf.py", line 532, in disconnect if self.listener: AttributeError: ClientZeroconf instance has no attribute 'listener'
and link-local messaging is not disabled. So you can open the account dialog again, and it will still be checked.