[Sugar-devel] Automatically Retrying an AP?
Martin Langhoff
martin.langhoff at gmail.com
Thu Feb 4 14:55:25 EST 2010
On Thu, Feb 4, 2010 at 1:26 PM, C. Scott Ananian <cscott at laptop.org> wrote:
> I thought that had been moved into NM. I could be wrong.
In Sugar 0.82 this seems to be handled but a bunch of objects, and I
don't yet understand how they tie together. But
src/view/home/MeshBox.py has a _disconnect_activate_cb() method that
seems to switch to mesh mode.
def _disconnect_activate_cb(self, menuitem):
# Disconnection for an AP means activating the default mesh device
network_manager = hardwaremanager.get_network_manager()
if network_manager and self._meshdev:
network_manager.set_active_device(self._meshdev)
self._palette.props.secondary_text = _('Disconnecting...')
self.props.pulsing = False
There are however several methods around with the same name, so it
could be this one. Or the other one.
Hopefully ppl who hacked on this code will say "yes, you're looking at
the right place". Or "lookie over there..."
cheers,
m
--
martin.langhoff at gmail.com
martin at laptop.org -- School Server Architect
- ask interesting questions
- don't get distracted with shiny stuff - working code first
- http://wiki.laptop.org/go/User:Martinlanghoff
More information about the Sugar-devel
mailing list