For what I've been able to see load_wifi_connections collects all wifi connections from /home/olpc/.sugar/default/nm/connections.cfg. This function gets called by load_connections who gets called by get_settings.<br><br>
I think that the class NMSettings is where sugar communicates this to NM, but I don't seem to find a "main loop" that I can follow in order to determine what happens when the process starts for the first time.<br>
<br>Could it be that this first "connection culling" is not provided by Sugar, but in fact by other entity?<br><br>Sorry that I can't be of much help, but I'm very new to python and am still trying to understand some of the basics.<br>
<br>Please tell me what I can do to help in solving this, since I've made changes in the autoconnection feature for the XO in NM, and in order to get the algorithms working well I need to get reliable data of the favourite connections. So I'm very interested in getting this solved.<br>
<br>Thanks for everything.<br><br>Cheers<br><br><div class="gmail_quote">2010/9/8 Sugar Labs Bugs <span dir="ltr"><<a href="mailto:bugtracker-noreply@sugarlabs.org">bugtracker-noreply@sugarlabs.org</a>></span><br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div class="im">#2295: Sugar 0.88 [Dextrose] not reporting all favourite connections to<br>
NetworkManager at startup<br>
------------------------------------------+---------------------------------<br>
</div> Reporter: fmiceli | Owner: tomeu<br>
<div class="im"> Type: defect | Status: new<br>
Priority: Unspecified by Maintainer | Milestone: Unspecified by Release Team<br>
</div> Component: sugar | Version: 0.88.x<br>
Severity: Minor | Keywords:<br>
<div class="im">Distribution: Dextrose | Status_field: Unconfirmed<br>
------------------------------------------+---------------------------------<br>
<br>
</div>Comment(by tomeu):<br>
<br>
Hi Franco, have you found the place in Sugar that provides that single<br>
connection to NM?<br>
<font color="#888888"><br>
--<br>
Ticket URL: <<a href="http://bugs.sugarlabs.org/ticket/2295#comment:2" target="_blank">http://bugs.sugarlabs.org/ticket/2295#comment:2</a>><br>
</font><div><div></div><div class="h5">Sugar Labs <<a href="http://sugarlabs.org/" target="_blank">http://sugarlabs.org/</a>><br>
Sugar Labs bug tracking system<br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Ing. Franco Miceli<br>CITS - Plan Ceibal - Investigación & Desarrollo<br>Av. Italia 6201 - Montevideo, Uruguay<br>CP: 11500<br>Tel: (598 2) 601 5773 int.: 2227<br>