aboutsummaryrefslogtreecommitdiff
path: root/lib/python/Components/HelpMenuList.py
diff options
context:
space:
mode:
authorFraxinas <andreas.frisch@multimedia-labs.de>2009-03-02 17:32:02 +0100
committerFraxinas <andreas.frisch@multimedia-labs.de>2009-03-02 17:32:02 +0100
commite68a1617b7c1efbedf8b28309943dd7669daaad0 (patch)
tree2c45f065213b18f3a2c8a5e8666977f9bbff230d /lib/python/Components/HelpMenuList.py
parent8d2545bc513280abe52d9c0fc2b704de3729a11e (diff)
parentfe12fe9e0ab3a4f9751b67c0aa3751d5864784ba (diff)
downloadenigma2-e68a1617b7c1efbedf8b28309943dd7669daaad0.tar.gz
enigma2-e68a1617b7c1efbedf8b28309943dd7669daaad0.zip
Merge branch 'master' of fraxinas@git.opendreambox.org:/git/enigma2
Diffstat (limited to 'lib/python/Components/HelpMenuList.py')
-rwxr-xr-xlib/python/Components/HelpMenuList.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/python/Components/HelpMenuList.py b/lib/python/Components/HelpMenuList.py
index ddf871a7..66139dfb 100755
--- a/lib/python/Components/HelpMenuList.py
+++ b/lib/python/Components/HelpMenuList.py
@@ -17,8 +17,6 @@ class HelpMenuList(GUIComponent):
l = [ ]
for (actionmap, context, actions) in helplist:
for (action, help) in actions:
- entry = [ ]
-
buttons = queryKeyBinding(context, action)
# do not display entries which are not accessible from keys
@@ -36,13 +34,15 @@ class HelpMenuList(GUIComponent):
if flags & 8: # for long keypresses, prepend l_ into the key name.
name = (name[0], "long")
- entry.append( (actionmap, context, action, name ) )
-
+ entry = [ (actionmap, context, action, name ) ]
+
if isinstance(help, list):
self.extendedHelp = True
print "extendedHelpEntry found"
- entry.append( (eListboxPythonMultiContent.TYPE_TEXT, 0, 0, 400, 26, 0, 0, help[0]) )
- entry.append( (eListboxPythonMultiContent.TYPE_TEXT, 0, 28, 400, 20, 1, 0, help[1]) )
+ entry.extend((
+ (eListboxPythonMultiContent.TYPE_TEXT, 0, 0, 400, 26, 0, 0, help[0]),
+ (eListboxPythonMultiContent.TYPE_TEXT, 0, 28, 400, 20, 1, 0, help[1])
+ ))
else:
entry.append( (eListboxPythonMultiContent.TYPE_TEXT, 0, 0, 400, 28, 0, 0, help) )