[pygtk] Setting application name in pygtk?

Lynn Monsanto monsanto at sun.com
Tue Nov 7 07:21:47 WST 2006


Hi all,

I'm a developer working on the Orca screen reader: 
http://live.gnome.org/Orca.  We are currently starting Orca using a bash 
script (see below).  This works okay, but has one problem.  The AT-SPI 
returns the application name as "-c".  Is there a way to explicitly set 
an application name in pygtk when starting an application using the "-c" 
flag? 

Thanks and best regards!
Lynn Monsanto

# Runs orca.
#
runOrca()
{
   exec_prefix=@prefix@
   PYTHONPATH=@pyexecdir@
   export PYTHONPATH
   @PYTHON@ -c "import orca.orca; orca.orca.main()" "$ARGS"
}






More information about the pygtk mailing list