X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=src%2Fscreen.cc;h=db0cb862919c91860aeef2311a09fffef055cae3;hb=6e2f3f9f8a2b4b83648c9c8b9993d321b3f60a79;hp=56aa99d916647c04dadf1088acb8d7de3e502413;hpb=1cd253f4684ee126340fae38094b637f1b0010ea;p=chaz%2Fopenbox diff --git a/src/screen.cc b/src/screen.cc index 56aa99d9..db0cb862 100644 --- a/src/screen.cc +++ b/src/screen.cc @@ -77,7 +77,7 @@ Screen::Screen(int screen) // XXX: initialize the screen's style /* otk::ustring stylepath; - python_get_string("theme", &stylepath); + python_get_string("THEME", &stylepath); otk::Configuration sconfig(false); sconfig.setFile(otk::expandTilde(stylepath.c_str())); if (!sconfig.load()) { @@ -103,7 +103,7 @@ Screen::Screen(int screen) // Set the net_desktop_names property std::vector names; - python_get_stringlist("desktop_names", &names); + python_get_stringlist("DESKTOP_NAMES", &names); otk::Property::set(_info->rootWindow(), otk::Property::atoms.net_desktop_names, otk::Property::utf8, names); @@ -112,7 +112,7 @@ Screen::Screen(int screen) _desktop = 0; - if (!python_get_long("number_of_desktops", &_num_desktops)) + if (!python_get_long("NUMBER_OF_DESKTOPS", &_num_desktops)) _num_desktops = 1; changeNumDesktops(_num_desktops); // set the hint @@ -806,7 +806,6 @@ void Screen::setDesktopName(long i, const otk::ustring &name) void Screen::installColormap(bool install) const { - printf("%snstalling Root Colormap!\n", install ? "I" : "Uni"); if (install) XInstallColormap(**otk::display, _info->colormap()); else