convert to new style
[enigma2.git] / lib / python / Components / Header.py
index 07d5ee8341010e3db3bc84ac126ab61222de6e7f..6f085c15e023fa7cba151dbb0e86f13a1324dcfd 100644 (file)
@@ -14,7 +14,4 @@ class Header(VariableText, HTMLComponent, GUIComponent):
        def produceHTML(self):
                return "<h2>" + self.getText() + "</h2>\n"
 
-       def createWidget(self, parent):
-               g = eLabel(parent)
-               return g
-
+       GUI_WIDGET = eLabel