add some todo shit

This commit is contained in:
Dana Jansens 2003-01-04 00:21:14 +00:00
parent 527697d6ae
commit f5f0a2c2ed

View file

@ -352,6 +352,11 @@ void python_init(char *argv0)
PyRun_SimpleString("from _otk import *; from _openbox import *;");
PyRun_SimpleString("openbox = Openbox_instance()");
/* XXX
sys.path.append('stuff')
install the .py wrappers, and include their path with this, then import em
*/
// set up access to the python global variables
PyObject *obmodule = PyImport_AddModule("__main__");
obdict = PyModule_GetDict(obmodule);