From 87372cbc59371c6d8b8e5dc4f77d1c84fef3423e Mon Sep 17 00:00:00 2001 From: Andreas Frisch Date: Tue, 7 Oct 2008 06:12:56 +0000 Subject: [PATCH] add HelpableScreen --- lib/python/Plugins/Extensions/DVDBurn/Process.py | 2 +- lib/python/Plugins/Extensions/DVDBurn/TitleList.py | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/python/Plugins/Extensions/DVDBurn/Process.py b/lib/python/Plugins/Extensions/DVDBurn/Process.py index 0fcbab0..688735f 100644 --- a/lib/python/Plugins/Extensions/DVDBurn/Process.py +++ b/lib/python/Plugins/Extensions/DVDBurn/Process.py @@ -392,7 +392,7 @@ class ImagingPostcondition(Condition): return task.returncode == 0 def getErrorMessage(self, task): - return "python-imaging " + _("failed") + return _("Failed") + ": python-imaging" class ImagePrepareTask(Task): def __init__(self, job): diff --git a/lib/python/Plugins/Extensions/DVDBurn/TitleList.py b/lib/python/Plugins/Extensions/DVDBurn/TitleList.py index 92fac1b..3a73211 100644 --- a/lib/python/Plugins/Extensions/DVDBurn/TitleList.py +++ b/lib/python/Plugins/Extensions/DVDBurn/TitleList.py @@ -13,7 +13,7 @@ from Components.Label import Label from enigma import eListboxPythonMultiContent, gFont, RT_HALIGN_LEFT from Tools.Directories import resolveFilename, SCOPE_PLUGINS -class TitleList(Screen): +class TitleList(Screen, HelpableScreen): skin = """ @@ -35,6 +35,7 @@ class TitleList(Screen): def __init__(self, session, project = None): Screen.__init__(self, session) + HelpableScreen.__init__(self) self["titleactions"] = HelpableActionMap(self, "DVDTitleList", { -- 2.7.4