summaryrefslogtreecommitdiff
path: root/src/screen.cc
diff options
context:
space:
mode:
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()) {