aboutsummaryrefslogtreecommitdiff
path: root/lib/python/Components/LanguageList.py
diff options
context:
space:
mode:
Diffstat (limited to 'lib/python/Components/LanguageList.py')
-rw-r--r--lib/python/Components/LanguageList.py4
1 files changed, 2 insertions, 2 deletions
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: