From 88b7de4aaa417512552003ccf20344766234e0e3 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Fri, 10 Jan 2003 07:43:42 +0000 Subject: the openbox module has to include shit from otk that it uses, swigs shit doesnt work across modules in the shadow wrappers --- src/python.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/python.cc') diff --git a/src/python.cc b/src/python.cc index cdb7d431..719c667d 100644 --- a/src/python.cc +++ b/src/python.cc @@ -34,7 +34,7 @@ void python_init(char *argv0) otk::expandTilde("~/.openbox/python") + "')").c_str())); // import the otk and openbox modules into the main namespace - PyRun_SimpleString("from otk import *; from openbox import *;"); + PyRun_SimpleString("from openbox import *;"); // set up convenience global variables PyRun_SimpleString("openbox = Openbox_instance()"); PyRun_SimpleString("display = OBDisplay_display()"); -- cgit v1.2.3