add HelpableScreen
authorAndreas Frisch <andreas.frisch@multimedia-labs.de>
Tue, 7 Oct 2008 06:12:56 +0000 (06:12 +0000)
committerAndreas Frisch <andreas.frisch@multimedia-labs.de>
Tue, 7 Oct 2008 06:12:56 +0000 (06:12 +0000)
lib/python/Plugins/Extensions/DVDBurn/Process.py
lib/python/Plugins/Extensions/DVDBurn/TitleList.py

index 0fcbab0..688735f 100644 (file)
@@ -392,7 +392,7 @@ class ImagingPostcondition(Condition):
                return task.returncode == 0
 
        def getErrorMessage(self, task):
                return task.returncode == 0
 
        def getErrorMessage(self, task):
-               return "python-imaging " + _("failed")
+               return _("Failed") + ": python-imaging"
 
 class ImagePrepareTask(Task):
        def __init__(self, job):
 
 class ImagePrepareTask(Task):
        def __init__(self, job):
index 92fac1b..3a73211 100644 (file)
@@ -13,7 +13,7 @@ from Components.Label import Label
 from enigma import eListboxPythonMultiContent, gFont, RT_HALIGN_LEFT
 from Tools.Directories import resolveFilename, SCOPE_PLUGINS
 
 from enigma import eListboxPythonMultiContent, gFont, RT_HALIGN_LEFT
 from Tools.Directories import resolveFilename, SCOPE_PLUGINS
 
-class TitleList(Screen):
+class TitleList(Screen, HelpableScreen):
        skin = """
                <screen position="90,83" size="560,445" title="DVD Tool" >
                    <ePixmap pixmap="skin_default/buttons/red.png" position="0,0" size="140,40" alphatest="on" />
        skin = """
                <screen position="90,83" size="560,445" title="DVD Tool" >
                    <ePixmap pixmap="skin_default/buttons/red.png" position="0,0" size="140,40" alphatest="on" />
@@ -35,6 +35,7 @@ class TitleList(Screen):
 
        def __init__(self, session, project = None):
                Screen.__init__(self, session)
 
        def __init__(self, session, project = None):
                Screen.__init__(self, session)
+               HelpableScreen.__init__(self)
                
                self["titleactions"] = HelpableActionMap(self, "DVDTitleList",
                        {
                
                self["titleactions"] = HelpableActionMap(self, "DVDTitleList",
                        {