diff options
| author | Dana Jansens <danakj@orodu.net> | 2003-01-04 00:21:14 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2003-01-04 00:21:14 +0000 |
| commit | f5f0a2c2eda2ea8cb3cd5eecbe2b7e459ae5ba2e (patch) | |
| tree | 47bb0ba28bdbf56633712eda5260c68d63fb5bf1 /src | |
| parent | 527697d6aee92ab3780eb34af158ac9d2207939c (diff) | |
add some todo shit
Diffstat (limited to 'src')
| -rw-r--r-- | src/python.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/python.cc b/src/python.cc index e5224921..60c3e012 100644 --- a/src/python.cc +++ b/src/python.cc @@ -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); |
