Re: [Sugar-devel] [PATCH] Prevent handling network devices twice (OLPC#11782)

2012-04-18 Thread Simon Schampijer
Thanks for the patch, looks good. Please push. Regards, Simon On 04/16/2012 11:28 PM, Daniel Drake wrote: Due to the asynchronous way that dbus works, it is possible to receive a network device listed in the initial GetDevices call, and as a DeviceAdded signal, if the device appears during

[Sugar-devel] [PATCH] Prevent handling network devices twice (OLPC#11782)

2012-04-16 Thread Daniel Drake
Due to the asynchronous way that dbus works, it is possible to receive a network device listed in the initial GetDevices call, and as a DeviceAdded signal, if the device appears during Sugar initialisation. Check to see that a device is really new before processing it. Fixes a case seen by Manuel