diff options
-rw-r--r-- | src/fluxbox.cc | 11 |
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; |