X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/cfdc155f46f816c17d098ba0bb2a3bd2037e2f1e..9f6a10b46af262567a5add9312927887c86531b8:/lib/python/Components/LanguageList.py diff --git a/lib/python/Components/LanguageList.py b/lib/python/Components/LanguageList.py index 08bb6307..adf87186 100644 --- a/lib/python/Components/LanguageList.py +++ b/lib/python/Components/LanguageList.py @@ -16,8 +16,8 @@ RT_VALIGN_TOP = 0 RT_VALIGN_CENTER = 8 RT_VALIGN_BOTTOM = 16 -def LanguageEntryComponent(file, name): - res = [ 0 ] +def LanguageEntryComponent(file, name, index): + res = [ index ] res.append((eListboxPythonMultiContent.TYPE_TEXT, 80, 10, 200, 50, 0, RT_HALIGN_LEFT ,name)) png = loadPNG(resolveFilename(SCOPE_SKIN_IMAGE, "countries/" + file + ".png")) if png == None: