neutrino: fix most hardcoded paths

This commit is contained in:
Stefan Seyfried
2013-03-10 02:01:52 +01:00
parent 49d9ebf833
commit ffd4daea7c
17 changed files with 27 additions and 25 deletions

View File

@@ -169,7 +169,7 @@ void COsdLangSetup::showLanguageSetup(CMenuWidget *osdl_setup)
struct dirent **namelist;
int n;
// printf("scanning locale dir now....(perhaps)\n");
char *pfad[] = {(char *) DATADIR "/neutrino/locale",(char *) "/var/tuxbox/config/locale"};
char *pfad[] = {(char *) DATADIR "/neutrino/locale",(char *) CONFIGDIR "/locale"};
osdl_setup->addIntroItems();