]> Dogcows Code - chaz/openbox/commitdiff
dont try import shit for now it dont work
authorDana Jansens <danakj@orodu.net>
Tue, 24 Dec 2002 23:49:00 +0000 (23:49 +0000)
committerDana Jansens <danakj@orodu.net>
Tue, 24 Dec 2002 23:49:00 +0000 (23:49 +0000)
src/openbox.cc

index 9078e6e188c4db6c75f35afa7408a35120b4b535..ca631d8203b08e94736cacf4ff60f26d1dd2e49c 100644 (file)
@@ -179,8 +179,9 @@ Openbox::Openbox(int argc, char **argv)
   Py_Initialize();
   init_otk();
   init_openbox();
-  PyRun_String("from _otk import *; from _openbox import *;", Py_file_input,
-               PyEval_GetGlobals(), PyEval_GetGlobals());
+  // i wish...
+  //PyRun_String("from _otk import *; from _openbox import *;", Py_file_input,
+  //             Py_None, Py_None);
   FILE *rcpyfd = fopen("/home/natas/.openbox/user.py", "r");
   if (!rcpyfd) {
     printf("failed to load python file /home/natas/.openbox/user.py\n");
This page took 0.022191 seconds and 4 git commands to generate.