GNOME Bugzilla – Bug 564726
configure doesn't detect pygtk in alternative directories
Last modified: 2008-12-16 18:49:03 UTC
Recently a configure check has been added to detect the gnomeapplet module. However, in order to work with non-standard installation paths it is required to do "import pygtk; pygtk.require('2.0')" first to get the Python system path correctly configured. Also it looks like gnomeapplet (may?) require threading to be enabled: >>> import gnomeapplet ** (.:11887): WARNING **: g_thread_init() has not been called. ORBit2 would like to use threads, so the application should have called g_thread_init(NULL) before any GLib or GLib-using API. Calling g_thread_init() now here inside the libORBit-2 library is too late, so instead threads won't be used by ORBit2. This might have bad side-effects. Fix the application! GLib-ERROR **: The thread system is not yet initialized. aborting...
Created attachment 124789 [details] [review] fixed configure check for gnomeapplet python module This patch addresses both issues.
Thanks a lot for the patch. I committed it to trunk and gnome-2-24 branch.