Date: Mon, 17 Nov 2003 15:24:51 -0600 From: Jeremy Messenger <mezz7@cox.net> To: Franz Klammer <klammer@webonaut.com> Cc: Alexander Leidinger <Alexander@Leidinger.net> Subject: Re: Fwd: Re: gdesksets/files/patch-libdesklets::Network.py Message-ID: <opryswfpbl8ckrg5@smtp.central.cox.net> In-Reply-To: <3FB93BB2.7050806@webonaut.com> References: <3FB3CA31.20309@webonaut.com> <opryk9v5m88ckrg5@smtp.central.cox.net> <3FB3D047.3010701@webonaut.com> <opryle9h1z8ckrg5@smtp.central.cox.net> <20031114100638.08c69054.Alexander@Leidinger.net> <3FB7A46D.1050204@webonaut.com> <opryq7t10z8ckrg5@smtp.central.cox.net> <20031117105535.5afa6df2.Alexander@Leidinger.net> <oprysu83zc8ckrg5@smtp.central.cox.net> <3FB93BB2.7050806@webonaut.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 17 Nov 2003 22:20:50 +0100, Franz Klammer <klammer@webonaut.com> wrote: > Jeremy Messenger wrote: > >> On Mon, 17 Nov 2003 10:55:35 +0100, Alexander Leidinger >> <Alexander@Leidinger.net> wrote: >> >>> On Sun, 16 Nov 2003 17:35:51 -0600 >>> Jeremy Messenger <mezz7@cox.net> 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) Does it solve the problem on libc_r and libkse, the SysInfo can run fine without your patch? If yes, then I can trust on your source and update the gdesklets.diff then send it to PR. Wanna to hear a funny story? I accidented 'rm -rf /usr/X11R6/share/' last night, which I was meant to 'rm -rf /usr/X11R6/share/gnome/gdesklets'.. It broke many stuffs, so right now I am rebuilding Gnome and many stuff. It's why I am not able to test gdesklets right now.. :-) Thanks! Cheers, Mezz > franz > >> Cheers, >> Mezz >> >>> Bye, >>> Alexander. -- bsdforums.org 's moderator, mezz.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?opryswfpbl8ckrg5>