From owner-freebsd-gnome@FreeBSD.ORG Mon Nov 17 13:20:48 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 B24EE16A4CE for ; Mon, 17 Nov 2003 13:20:48 -0800 (PST) Received: from sv02.webonaut.com (kirk.webonaut.com [212.41.243.26]) by mx1.FreeBSD.org (Postfix) with ESMTP id 598C743FD7 for ; Mon, 17 Nov 2003 13:20:46 -0800 (PST) (envelope-from klammer@webonaut.com) Received: from localhost (localhost [127.0.0.1]) by sv02.webonaut.com (Postfix) with ESMTP id DEA907645D; Mon, 17 Nov 2003 22:20:43 +0100 (CET) Received: from sv02.webonaut.com ([127.0.0.1]) by localhost (sv02.webonaut.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 74244-03; Mon, 17 Nov 2003 22:20:41 +0100 (CET) Received: from webonaut.com (sisko.webonaut.com [212.41.243.28]) by sv02.webonaut.com (Postfix) with ESMTP id 516C076428; Mon, 17 Nov 2003 22:20:41 +0100 (CET) Message-ID: <3FB93BB2.7050806@webonaut.com> Date: Mon, 17 Nov 2003 22:20:50 +0100 From: Franz Klammer User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.5) Gecko/20031021 Thunderbird/0.3 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Jeremy Messenger References: <3FB3CA31.20309@webonaut.com> <3FB3D047.3010701@webonaut.com> <20031114100638.08c69054.Alexander@Leidinger.net> <3FB7A46D.1050204@webonaut.com> <20031117105535.5afa6df2.Alexander@Leidinger.net> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Scanned: by amavisd-new at webonaut.com cc: gnome@freebsd.org cc: Alexander Leidinger Subject: Re: Fwd: 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: Mon, 17 Nov 2003 21:20:48 -0000 Jeremy Messenger wrote: > On Mon, 17 Nov 2003 10:55:35 +0100, Alexander Leidinger > wrote: > >> On Sun, 16 Nov 2003 17:35:51 -0600 >> Jeremy Messenger wrote: >> >>> > some kown problems: >>> > - to make it run you need to activate libkse in /etc/libmap.conf >>> >>> Bummer, looks like you will have to add explain in the pkg-message >>> about >>> that libkse is required otherwise it won't work with libc_r. >> >> >> Has anyone contacted the threads people? There's either a bug in libkse >> or in libc_r. > > > No, I haven't.. I didn't know there has any bug in libkse or libc_r > that cause gdesklets not work. Well, I don't know how to explain and > show there's bug in libc_r or libkse. I just explain about gdesklets > work a little on libkse, but not on libc_r? Also, show the code of > SysInfo or Weather's thread? > i think i've found the problem. could someone approve this? to make it run, please change gdesklets/sensor/Sensor.py in this way: # # Adds and runs a new thread. # def _add_thread(self, threadfunction, *args): gtk.threads_init() <== ADD THIS LINE # the thread should not start before setup is complete, therefore # we are using the GTK idle handler def run_thread(threadfunction, args): thread.start_new_thread(threadfunction, args) gtk.idle_add(run_thread, threadfunction, args) franz > Cheers, > Mezz > >> Bye, >> Alexander. > > > -- webonaut.com :: web technology klammer@webonaut.com :: http://webonaut.com/ fon +43-664-3434708 -- MIG_media intelligence group > agentur für werbung & neue medien A-5020 Salzburg > Linzergasse 21 Fon +43-662-453091-0 > Fax -99 office@mig.co.at > http://www.mig.co.at --