X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;ds=sidebyside;f=src%2Fscreen.cc;h=da603ed8cb3d690152853fa13c5cc46539651f78;hb=4721c53868187d10e3732cea63efa9fbd352178d;hp=80b9083d6992d5e2db1c2551272a2e68cdd21886;hpb=745e840547b5443ecfb9b6f0a4f14b0d035d59c2;p=chaz%2Fopenbox 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()) {