FreeBSD Bugzilla – Attachment 37295 Details for
Bug 59432
Maintainer update: deskutils/gdesklets, fix the threads.
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
gdesklets.diff
gdesklets.diff (text/plain), 1.37 KB, created by
Jeremy Messenger
on 2003-11-18 20:00:35 UTC
(
hide
)
Description:
gdesklets.diff
Filename:
MIME Type:
Creator:
Jeremy Messenger
Created:
2003-11-18 20:00:35 UTC
Size:
1.37 KB
patch
obsolete
>diff -ur gdesklets.orig/Makefile gdesklets/Makefile >--- gdesklets.orig/Makefile Mon Nov 17 17:15:22 2003 >+++ gdesklets/Makefile Tue Nov 18 13:31:22 2003 >@@ -7,7 +7,7 @@ > > PORTNAME= gdesklets > PORTVERSION= 0.24.1 >-PORTREVISION= 1 >+PORTREVISION= 2 > CATEGORIES= deskutils gnome > MASTER_SITES= http://www.pycage.de/download/${PORTNAME}/ > DISTNAME= gDesklets-${PORTVERSION} >diff -ur gdesklets.orig/files/patch-sensor::Sensor.py gdesklets/files/patch-sensor::Sensor.py >--- gdesklets.orig/files/patch-sensor::Sensor.py Mon Nov 17 16:50:46 2003 >+++ gdesklets/files/patch-sensor::Sensor.py Tue Nov 18 13:34:20 2003 >@@ -1,14 +1,13 @@ > # Yay! Many thanks to Franz Klammer <klammer@webonaut.com>, > # the theads is now work. That make a lot of desklets work now. > >---- sensor/Sensor.py.orig Mon Nov 17 16:46:57 2003 >-+++ sensor/Sensor.py Mon Nov 17 16:48:43 2003 >-@@ -134,6 +134,8 @@ >- # >- def _add_thread(self, threadfunction, *args): >+--- sensor/Sensor.py.orig Tue Nov 18 13:32:10 2003 >++++ sensor/Sensor.py Tue Nov 18 13:33:39 2003 >+@@ -346,3 +346,7 @@ >+ def __on_quit(self, src): > >-+ gtk.threads_init() >+ gtk.main_quit() > + >- # the thread should not start before setup is complete, therefore >- # we are using the GTK idle handler >- def run_thread(threadfunction, args): >++ >++# FreeBSD needs this; Linux doesn't but it's cleaner to use it >++gtk.threads_init()
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 59432
: 37295