[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Network Manager
From: |
Michael Albinus |
Subject: |
Re: Network Manager |
Date: |
Sun, 16 Dec 2012 10:07:47 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) |
Ian D <address@hidden> writes:
> > What about `dbus-call-method-asynchronously'? The handler
> > could update the enwc buffer, and you aren't blocked during
> > scan.
>
> I've tried that, but here's the problem with at least Wicd (Not
> so certain about NetworkManager): The "Scan" function for Wicd
> takes a parameter `sync'. This is `t' if the user wants a
> synchronous call, and `nil' otherwise. The issues I ran into
> before were with this, and `dbus-call-method-asyncronously'
> doesn't really help with it.
>
> If `sync' is `nil', then the function returns `t', and goes
> into the background, but doesn't provide a way to see when the
> scan is finished.
There is the org.wicd.daemon.wireless.SendEndScanSignal signal, which
you could register for. In the corresponding handler, you could apply
needed actions.
> Ian D
Best regards, Michael.