From 08fca93e7f2a37a452399d08c5c84b969b7e52af Mon Sep 17 00:00:00 2001 From: Stefan Pluecken Date: Thu, 23 Mar 2006 00:06:27 +0000 Subject: - switchtimer added to RecordingTimer - media player to play mp3, ogg (not yet fully working) and ts files (needs gstreamer) - language selection saves a language string instead of a changing index number --- lib/python/Components/LanguageList.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to '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: -- cgit v1.2.3