remove deprecated code (deprecation date was 2008-01 and 2008-02)
[enigma2.git] / lib / python / Screens / SimpleSummary.py
index 50140a9938b3cb16984dfff1efd7202704016938..41875641aa1813602801c1b43b2a791044cc1aac 100644 (file)
@@ -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 = """
@@ -18,8 +18,12 @@ 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)
+
+               self["Title"] = Label(parent.title or "")
 
        def setTitle(self, title):
                self["Title"].setText(title)