From 220b5c40f91c6509951ccd0d506a9bd77d9d6bac Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Tue, 4 Feb 2003 11:03:57 +0000 Subject: make python config variables very visible by making them all capitals. cleaner nicer documentation in the py modules. make public functions more visible. --- src/screen.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/screen.cc') diff --git a/src/screen.cc b/src/screen.cc index c42ceeea..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 -- cgit v1.2.3