projects
/
dana
/
openbox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
527697d
)
add some todo shit
author
Dana Jansens
<danakj@orodu.net>
Sat, 4 Jan 2003 00:21:14 +0000
(
00:21
+0000)
committer
Dana Jansens
<danakj@orodu.net>
Sat, 4 Jan 2003 00:21:14 +0000
(
00:21
+0000)
src/python.cc
patch
|
blob
|
history
diff --git
a/src/python.cc
b/src/python.cc
index e5224921a1ee327e36efea20899c3e7f81912460..60c3e012f2b4d3929897ed3471a53fdedd77cb8b 100644
(file)
--- 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);