Fwd: Re: gdesksets/files/patch-libdesklets::Network.py
Franz Klammer
klammer at webonaut.com
Mon Nov 17 13:20:48 PST 2003
Jeremy Messenger wrote:
> On Mon, 17 Nov 2003 10:55:35 +0100, Alexander Leidinger
> <Alexander at Leidinger.net> wrote:
>
>> On Sun, 16 Nov 2003 17:35:51 -0600
>> Jeremy Messenger <mezz7 at 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)
franz
> Cheers,
> Mezz
>
>> Bye,
>> Alexander.
>
>
>
--
webonaut.com :: web technology
klammer at 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 at mig.co.at > http://www.mig.co.at
--
More information about the freebsd-gnome
mailing list