X-Git-Url: http://code.vuplus.com/gitweb/?a=blobdiff_plain;f=lib%2Fpython%2FPlugins%2FExtensions%2FDVDBurn%2FTitleProperties.py;h=ca571ffed4a2efa4a9bd3253669a352822ccb446;hb=cae9cbba3b7789e8d61bb6d6f1902c8d1c569e45;hp=1c2099fbf91e38a0c27d8dc29afe373a42aade3d;hpb=574f425cc1ebece0aa5f09fb77a8cb7ad0310a1f;p=vuplus_dvbapp diff --git a/lib/python/Plugins/Extensions/DVDBurn/TitleProperties.py b/lib/python/Plugins/Extensions/DVDBurn/TitleProperties.py old mode 100644 new mode 100755 index 1c2099f..ca571ff --- a/lib/python/Plugins/Extensions/DVDBurn/TitleProperties.py +++ b/lib/python/Plugins/Extensions/DVDBurn/TitleProperties.py @@ -9,7 +9,7 @@ from Components.Sources.StaticText import StaticText from Components.Sources.Progress import Progress from Components.FileList import FileList from Components.Pixmap import Pixmap -from enigma import eListboxPythonMultiContent, gFont, RT_HALIGN_LEFT, ePicLoad +from enigma import ePicLoad from Tools.Directories import fileExists, resolveFilename, SCOPE_PLUGINS, SCOPE_FONTS, SCOPE_HDD from Components.config import config, getConfigListEntry, ConfigInteger, ConfigSubsection, ConfigSelection from Components.ConfigList import ConfigListScreen @@ -18,16 +18,16 @@ import DVDTitle class TitleProperties(Screen,ConfigListScreen): skin = """ - - - - - - - - - - + + + + + + + + + + """ def __init__(self, session, parent, project, title_idx): @@ -63,6 +63,10 @@ class TitleProperties(Screen,ConfigListScreen): }, -2) self.onShown.append(self.update) + self.onLayoutFinish.append(self.layoutFinished) + + def layoutFinished(self): + self.setTitle(_("Properties of current title")) def initConfigList(self, element=None): try: @@ -91,7 +95,7 @@ class TitleProperties(Screen,ConfigListScreen): chaptermarks = title.getChapterMarks(template="$h:$m:$s") chapters_count = len(chaptermarks) if chapters_count >= 1: - infotext += '\n' + str(chapters_count+1) + ' ' + _("chapters") + ': ' + infotext += str(chapters_count+1) + ' ' + _("chapters") + ': ' infotext += ' / '.join(chaptermarks) self["serviceinfo"].setText(infotext) self["config"].setList(self.list)