From 66a26917a0631463df7f72c34cbeb39df466918a Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Thu, 2 Jan 2003 20:36:14 +0000 Subject: new code for bindings/callbacks. much sexier. now passes python classes back to the callbacks, and the storage of the callbacks in the code is much more clear. huzzah. --- src/screen.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/screen.cc') diff --git a/src/screen.cc b/src/screen.cc index 80b9083d..da603ed8 100644 --- a/src/screen.cc +++ b/src/screen.cc @@ -23,6 +23,7 @@ extern "C" { #include "openbox.hh" #include "frame.hh" #include "bindings.hh" +#include "python.hh" #include "otk/display.hh" static bool running; @@ -75,7 +76,7 @@ OBScreen::OBScreen(int screen) // initialize the screen's style _style.setImageControl(_image_control); std::string stylepath; - Openbox::instance->getConfigString("theme", &stylepath); + python_get_string("theme", &stylepath); otk::Configuration sconfig(false); sconfig.setFile(otk::expandTilde(stylepath)); if (!sconfig.load()) { -- cgit v1.2.3