X-Git-Url: http://code.vuplus.com/gitweb/?a=blobdiff_plain;f=lib%2Fpython%2FScreens%2FSimpleSummary.py;h=992e343c31599c9456cd5ba4341a6cf5faa796eb;hb=895e6dc35b9a3579ee9535d560b4ce91ed9c0c60;hp=22fd83e000fc1bc372bb43d2c3e7eb14991cea78;hpb=d9f8654bba059483d67024a64e30fe39b6ae3551;p=vuplus_dvbapp diff --git a/lib/python/Screens/SimpleSummary.py b/lib/python/Screens/SimpleSummary.py old mode 100644 new mode 100755 index 22fd83e..992e343 --- a/lib/python/Screens/SimpleSummary.py +++ b/lib/python/Screens/SimpleSummary.py @@ -1,5 +1,5 @@ from Screens.Screen import Screen -from Components.Sources.Source import ObsoleteSource +#from Components.Sources.Source import ObsoleteSource class SimpleSummary(Screen): skin = """ @@ -7,10 +7,10 @@ class SimpleSummary(Screen): WithSeconds - + """ def __init__(self, session, parent): - from Components.Label import Label + Screen.__init__(self, session, parent = parent) names = parent.skinName @@ -20,8 +20,6 @@ class SimpleSummary(Screen): self.skinName = [ x + "_summary" for x in names ] self.skinName.append("SimpleSummary") - self["Clock"] = ObsoleteSource(new_source = "global.CurrentTime", removal_date = "2008-01") - self["Title"] = Label(parent.title or "") + # if parent has a "skin_summary" defined, use that as default + self.skin = parent.__dict__.get("skin_summary", self.skin) - def setTitle(self, title): - self["Title"].setText(title)