From 51377a3c360b5a1d85bee40438df631c518e622f Mon Sep 17 00:00:00 2001 From: Mark Tiefenbruck Date: Mon, 17 Dec 2007 00:53:12 -0800 Subject: removed session.screen.imageSearchPath, as it was: 1) undocumented 2) improperly implemented 3) responsible for broken pixmap loading in styles --- src/fluxbox.cc | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/src/fluxbox.cc b/src/fluxbox.cc index 29b3509..2ff0b55 100644 --- a/src/fluxbox.cc +++ b/src/fluxbox.cc @@ -1495,17 +1495,6 @@ void Fluxbox::load_rc(BScreen &screen) { } - FbTk::Image::removeAllSearchPaths(); - sprintf(name_lookup, "session.screen%d.imageSearchPath", screen_number); - sprintf(class_lookup, "Session.Screen%d.imageSearchPath", screen_number); - if (XrmGetResource(*database, name_lookup, class_lookup, &value_type, - &value) && value.addr) { - vector paths; - StringUtil::stringtok(paths, value.addr, ", "); - for (size_t i = 0; i < paths.size(); ++i) - FbTk::Image::addSearchPath(paths[i]); - } - if (!dbfile.empty()) { if (!m_screen_rm.load(dbfile.c_str())) { cerr<<_FB_CONSOLETEXT(Fluxbox, CantLoadRCFile, "Failed to load database", "Failed trying to read rc file")<<":"<