My analysis of the problem was quite weak, sorry On MY machine, ifconfig still 
returns "inet adr" with only one "d". 
Actually, the problem is a problem of locale. In your english ( I presume) 
version, it has two "d" but in mine which is a french version of Maverick, 
"inet adr" has only one "d". 
What is the best way to test a string taking into account the user's locale ? 
Besides, what if you have two valid connections ? A wired one and a wireless 
one ? The function used only returns the first "inet addr" found in ifconfig. I 
suppose Julien will have to change the algorithm he used.

-- 
sysmonitor screenlet fails to find the computer's IP address
https://bugs.launchpad.net/bugs/618868
You received this bug notification because you are a member of
Screenlets Dev Team, which is subscribed to Screenlets.

_______________________________________________
Mailing list: https://launchpad.net/~screenlets-dev
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~screenlets-dev
More help   : https://help.launchpad.net/ListHelp

Reply via email to