How can I tell consistently if accessibility is enabled?

2009-06-22 Thread Timothy Renner
Hi, I'm trying to find a reliable way of telling if accessibility is enabled for the current X session without using the ATK or GTK libraries built into a program. I need to be able to query the system, say through a shell script, or something as equally limited. I was hoping to use the output f

Accessibility hang when GTK's main loop is in a second thread (PyGTK)

2009-06-18 Thread Timothy Renner
We have a Python application using PyGTK, which fires up a second thread for the GUI and gtk.main() while main processing happens in the Main thread. Main is responsible for much of the actual drawing of the GUI, while the secondary thread is responsible for picking up actions on the GUI and prodd