? kfm_iconpath.diff Index: kfmw.cpp =================================================================== RCS file: /home/kde/kdebase/kfm/Attic/kfmw.cpp,v retrieving revision 1.1.2.3 diff -u -r1.1.2.3 kfmw.cpp --- kfmw.cpp 1999/04/07 11:34:34 1.1.2.3 +++ kfmw.cpp 1999/08/24 19:16:10 @@ -53,6 +53,28 @@ tmp += "/share/icons"; list->append( tmp.data() ); + KConfig *config = kapp->getConfig(); + QStrList dirList; + config->setGroup("KDE Setup"); + config->readListEntry( "IconPath", dirList, ':' ); + + for (const char *it=dirList.first(); it; it = dirList.next()) { + QDir dir( it ); + + if (dir.exists()) + list->append( it ); + } + + config->setGroup("Settings"); + config->readListEntry( "IconPath", dirList, ':' ); + + for (const char *it=dirList.first(); it; it = dirList.next()) { + QDir dir( it ); + + if (dir.exists()) + list->append( it ); + } + if ( KfmGui::rooticons ) { kapp->enableSessionManagement( TRUE ); @@ -62,7 +84,6 @@ connect( kapp, SIGNAL( shutDown() ), this, SLOT( slotShutDown() ) ); // Global configuration - KConfig *config = kapp->getConfig(); config->setGroup("KFM Misc Defaults"); bAllowURLProps = config->readBoolEntry( "EnablePerURLProps", false ); bTreeViewFollowMode = config->readBoolEntry( "TreeFollowsView", false);