Preparing the menu classes for Lua Part #2

- Remove CMenuForwarderNonLocalized
- Add overloaded function CMenuForwarder for non local
 THX Martii


Origin commit data
------------------
Commit: b41819190d
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2014-01-16 (Thu, 16 Jan 2014)

Origin message was:
------------------
Preparing the menu classes for Lua Part #2

- Remove CMenuForwarderNonLocalized
- Add overloaded function CMenuForwarder for non local
 THX Martii
This commit is contained in:
Michael Liebmann
2014-01-16 23:20:04 +01:00
parent 37e4b0bda8
commit 1918153c0a
35 changed files with 298 additions and 356 deletions

View File

@@ -129,9 +129,9 @@ void CThemes::readThemes(CMenuWidget &themes)
*pos = '\0';
if ( p == 1 ) {
userThemeFile = "{U}" + (std::string)file;
oj = new CMenuForwarderNonLocalized((char*)file, true, "", this, userThemeFile.c_str());
oj = new CMenuForwarder((char*)file, true, "", this, userThemeFile.c_str());
} else
oj = new CMenuForwarderNonLocalized((char*)file, true, "", this, file);
oj = new CMenuForwarder((char*)file, true, "", this, file);
themes.addItem( oj );
}
free(themelist[count]);