From owner-freebsd-gnome@FreeBSD.ORG Thu Nov 13 10:35:37 2003 Return-Path: Delivered-To: freebsd-gnome@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E217C16A4CF for ; Thu, 13 Nov 2003 10:35:37 -0800 (PST) Received: from lakemtao08.cox.net (lakemtao08.cox.net [68.1.17.113]) by mx1.FreeBSD.org (Postfix) with ESMTP id 58EA443FA3 for ; Thu, 13 Nov 2003 10:35:36 -0800 (PST) (envelope-from mezz7@cox.net) Received: from mezz.mezzweb.com ([68.103.32.11]) by lakemtao08.cox.net (InterMail vM.5.01.06.05 201-253-122-130-105-20030824) with ESMTP id <20031113183529.POCO5790.lakemtao08.cox.net@mezz.mezzweb.com>; Thu, 13 Nov 2003 13:35:29 -0500 To: Franz Klammer References: <3FB3CA31.20309@webonaut.com> Message-ID: From: Jeremy Messenger Content-Type: text/plain; format=flowed; charset=iso-8859-1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Date: Thu, 13 Nov 2003 12:34:43 -0600 In-Reply-To: <3FB3CA31.20309@webonaut.com> User-Agent: Opera7.21/Linux M2 build 497 cc: gnome@freebsd.org Subject: Re: gdesksets/files/patch-libdesklets::Network.py X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 Nov 2003 18:35:38 -0000 On Thu, 13 Nov 2003 19:15:13 +0100, Franz Klammer 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.