GNOME Bugzilla – Bug 127243
[PATCH] Get the libdesklets/CPU.py works on FreeBSD.
Last modified: 2004-12-22 21:47:04 UTC
gDesklets version: 0.24.1 It should work on Linux too, we split the function between Linux and FreeBSD. An attach is coming in the next submit.
Created attachment 21558 [details] [review] An attach of patch to get it works on FreeBSD.
I forgot to add something more. FreeBSD doesn't has the CPU cache, so it's why we put it returns as " ".
Thanks. I will integrate this into CVS. But you should not call 'import libdesklets' in CPU.py outside of a function. The reason is that you get circular inclusion dependency then: libdesklets imports CPU and CPU imports libdesklets even before libdesklets has been imported completely.