use cElementTree instead of minidom for xml parsing (thx to Moritz Venn)
[enigma2.git] / lib / python / Screens / SimpleSummary.py
index 22fd83e000fc1bc372bb43d2c3e7eb14991cea78..41875641aa1813602801c1b43b2a791044cc1aac 100644 (file)
@@ -1,5 +1,5 @@
 from Screens.Screen import Screen
 from Screens.Screen import Screen
-from Components.Sources.Source import ObsoleteSource
+#from Components.Sources.Source import ObsoleteSource
 
 class SimpleSummary(Screen):
        skin = """
 
 class SimpleSummary(Screen):
        skin = """
@@ -20,7 +20,9 @@ class SimpleSummary(Screen):
                self.skinName = [ x + "_summary" for x in names ]
                self.skinName.append("SimpleSummary")
 
                self.skinName = [ x + "_summary" for x in names ]
                self.skinName.append("SimpleSummary")
 
-               self["Clock"] = ObsoleteSource(new_source = "global.CurrentTime", removal_date = "2008-01")
+               # 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"] = Label(parent.title or "")
 
        def setTitle(self, title):