1
0
mirror of git://projects.qi-hardware.com/gmenu2x.git synced 2024-07-02 18:05:26 +03:00

Merge remote branch 'origin/master'

This commit is contained in:
Maarten ter Huurne 2011-04-13 03:14:45 +02:00
commit f9db1fbd53
2 changed files with 5 additions and 2 deletions

View File

@ -73,7 +73,7 @@ void FileLister::browse()
if (showDirectories || showFiles) {
DIR *dirp;
if ((dirp = opendir(path.c_str())) == NULL) {
ERROR("Error: opendir(%s)\n", path.c_str());
ERROR("Unable to open directory: %s\n", path.c_str());
return;
}

View File

@ -1122,7 +1122,10 @@ void GMenu2X::options() {
if (curMenuClock!=confInt["menuClock"]) setClock(confInt["menuClock"]);
if (curGlobalVolume!=confInt["globalVolume"]) setVolume(confInt["globalVolume"]);
if (lang == "English") lang = "";
if (lang != tr.lang()) tr.setLang(lang);
if (lang != tr.lang()) {
tr.setLang(lang);
confStr["lang"] = lang;
}
/*if (fileExists(CARD_ROOT) && !showRootFolder)
unlink(CARD_ROOT);
else if (!fileExists(CARD_ROOT) && showRootFolder)