X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/0387d7961b2eeb0f1bfa9f6ee9b7fa965dd0e66d..6ea64f6225d623a23fee4d16965111e26ee74ffa:/lib/python/Screens/SimpleSummary.py?ds=sidebyside
diff --git a/lib/python/Screens/SimpleSummary.py b/lib/python/Screens/SimpleSummary.py
old mode 100644
new mode 100755
index 50140a99..992e343c
--- 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
@@ -18,8 +18,8 @@ class SimpleSummary(Screen):
names = [names]
self.skinName = [ x + "_summary" for x in names ]
- self["Clock"] = ObsoleteSource(new_source = "global.CurrentTime", removal_date = "2008-01")
- self["Title"] = Label(parent.title)
+ self.skinName.append("SimpleSummary")
+
+ # 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)