From ec000e021476571a4107bc40ef408f0c7497fa49 Mon Sep 17 00:00:00 2001 From: Ayla Date: Wed, 30 Mar 2011 15:44:32 +0200 Subject: [PATCH 1/2] Changed an error message, that was displaying "Error:" twice. Plus, it now more meaningful. --- src/filelister.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/filelister.cpp b/src/filelister.cpp index b2fa1d3..7fd4343 100644 --- a/src/filelister.cpp +++ b/src/filelister.cpp @@ -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; } From ba9fef5c426a412f2b17cac0ea310b007a02a615 Mon Sep 17 00:00:00 2001 From: Ayla Date: Tue, 12 Apr 2011 13:24:35 +0200 Subject: [PATCH 2/2] The locale configuration will now be saved. --- src/gmenu2x.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/gmenu2x.cpp b/src/gmenu2x.cpp index 3fbc909..18e0810 100644 --- a/src/gmenu2x.cpp +++ b/src/gmenu2x.cpp @@ -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)