gdesksets/files/patch-libdesklets::Network.py

Jeremy Messenger mezz7 at cox.net
Thu Nov 13 10:35:38 PST 2003


On Thu, 13 Nov 2003 19:15:13 +0100, Franz Klammer <klammer at webonaut.com> 
wrote:

> the dedection-code of the network-interfaces in
> patch-libdesklets::Network.py is wrong:
>
>         devices = []
>         if ("FreeBSD" == platform):
>             for lines in data:
>                 fields = lines.strip().strip(":")
>
>                 if (fields[0] == "lo"):
>
> corrections:
>
>         devices = []
>         if ("FreeBSD" == platform):
>             for lines in data:
>                 fields = lines.strip().split(":")   <==
>
>                 if (fields[0][:2] == "lo"):          <==
>

Thanks! Can you tell me which desklet did you test it with? I couldn't 
test the libdesklets, because of a lot of desklets will not work due to 
the thread (refresh stuff).

Cheers,
Mezz

> franz


-- 
bsdforums.org 's moderator, mezz.


More information about the freebsd-gnome mailing list