--- libCommon/displayHelp.cpp.old 2006-09-11 22:41:38.000000000 +0200 +++ libCommon/displayHelp.cpp 2006-09-11 22:42:20.000000000 +0200 @@ -44,7 +44,7 @@ _text->mimeSourceFactory()->setFilePath( QString(".") ); _text->mimeSourceFactory()->setExtensionType( "html", "text/html;charset=iso8859-1" ); _text->setTextFormat( Qt::RichText ); - _text->setSource( "./HOWTOPLAY.html" ); + _text->setSource( "@GENTOO_DATADIR@/HOWTOPLAY.html" ); QPushButton * pbOk = new QPushButton( this ); pbOk->setText( QObject::tr( "Ok" ) ); --- libCommon/attalCommon.cpp.old 2006-09-11 22:45:23.000000000 +0200 +++ libCommon/attalCommon.cpp 2006-09-11 22:47:28.000000000 +0200 @@ -52,7 +52,7 @@ { QDir folder; - folder.setPath( "./themes/" + THEME ); + folder.setPath( "@GENTOO_DATADIR@/themes/" + THEME ); #ifndef WIN32 if( ! folder.exists() ) { --- server/duel.cpp.old 2006-09-11 22:48:30.000000000 +0200 +++ server/duel.cpp 2006-09-11 22:48:57.000000000 +0200 @@ -44,7 +44,7 @@ { QDir folder; - folder.setPath( "./themes/" + THEME ); + folder.setPath( "@GENTOO_DATADIR@/themes/" + THEME ); if( ! folder.exists() ) { folder.setPath( "/usr/local/share/games/attal/themes/" + THEME ); if( ! folder.exists() ) {