Sugar and NetworkManager

James Cameron quozl at laptop.org
Sun Aug 29 21:09:02 EDT 2010


On Fri, Aug 27, 2010 at 11:22:42AM -0300, Franco Miceli wrote:
> That's why I'm asking if anyone could point me in some direction (what
> .py/s to look for, where the interfaces get started) in order to
> accomplish what I want to do.

src/jarabe/model/network.py

When user clicks on an access point icon, it is added to a list of
connections, which is saved in a file and also passed to NetworkManager,
and as a result the connection is attempted.

When the laptop starts up, the list of connections is read, then sent to
NetworkManager, and as a result the connection is attempted again.

You can then find where these classes and methods are used in other
code, such as meshbox.py.

http://projects.gnome.org/NetworkManager/developers/spec.html is
particularly useful in comprehending the negotiation between network.py
in Sugar and NetworkManager in Fedora.

-- 
James Cameron
http://quozl.linux.org.au/



More information about the Devel mailing list