aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMark Tiefenbruck <mark@fluxbox.org>2007-12-17 08:53:12 (GMT)
committerMark Tiefenbruck <mark@fluxbox.org>2007-12-17 08:53:12 (GMT)
commit51377a3c360b5a1d85bee40438df631c518e622f (patch)
treeb2e76467df194e296883f7959f9784b8bf771eae /src
parent0ca0aa1ac209208011db56f6b77b292c71f26add (diff)
downloadfluxbox-51377a3c360b5a1d85bee40438df631c518e622f.zip
fluxbox-51377a3c360b5a1d85bee40438df631c518e622f.tar.bz2
removed session.screen<N>.imageSearchPath, as it was:
1) undocumented 2) improperly implemented 3) responsible for broken pixmap loading in styles
Diffstat (limited to 'src')
-rw-r--r--src/fluxbox.cc11
1 files changed, 0 insertions, 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) {
1495 1495
1496 } 1496 }
1497 1497
1498 FbTk::Image::removeAllSearchPaths();
1499 sprintf(name_lookup, "session.screen%d.imageSearchPath", screen_number);
1500 sprintf(class_lookup, "Session.Screen%d.imageSearchPath", screen_number);
1501 if (XrmGetResource(*database, name_lookup, class_lookup, &value_type,
1502 &value) && value.addr) {
1503 vector<string> paths;
1504 StringUtil::stringtok(paths, value.addr, ", ");
1505 for (size_t i = 0; i < paths.size(); ++i)
1506 FbTk::Image::addSearchPath(paths[i]);
1507 }
1508
1509 if (!dbfile.empty()) { 1498 if (!dbfile.empty()) {
1510 if (!m_screen_rm.load(dbfile.c_str())) { 1499 if (!m_screen_rm.load(dbfile.c_str())) {
1511 cerr<<_FB_CONSOLETEXT(Fluxbox, CantLoadRCFile, "Failed to load database", "Failed trying to read rc file")<<":"<<dbfile<<endl; 1500 cerr<<_FB_CONSOLETEXT(Fluxbox, CantLoadRCFile, "Failed to load database", "Failed trying to read rc file")<<":"<<dbfile<<endl;