summaryrefslogtreecommitdiff
path: root/src/screen.cc
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2003-01-02 20:36:14 +0000
committerDana Jansens <danakj@orodu.net>2003-01-02 20:36:14 +0000
commit66a26917a0631463df7f72c34cbeb39df466918a (patch)
tree0ffd823b664d12e81159569076553d705cb7ae2a /src/screen.cc
parent745e840547b5443ecfb9b6f0a4f14b0d035d59c2 (diff)
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.
Diffstat (limited to 'src/screen.cc')
-rw-r--r--src/screen.cc3
1 files changed, 2 insertions, 1 deletions
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()) {