fix text for buttons
authorFelix Domke <tmbinc@elitedvb.net>
Mon, 1 May 2006 21:10:41 +0000 (21:10 +0000)
committerFelix Domke <tmbinc@elitedvb.net>
Mon, 1 May 2006 21:10:41 +0000 (21:10 +0000)
lib/python/Components/Button.py

index 2839a034c449d87bee54d9a37020d2753535825e..f1acb99d8c1ef5aef102a01d5967ec97b1cc7973 100644 (file)
@@ -29,4 +29,5 @@ class Button(VariableText, HTMLComponent, GUIComponent):
        GUI_WIDGET = eButton
 
        def postWidgetCreate(self, instance):
        GUI_WIDGET = eButton
 
        def postWidgetCreate(self, instance):
+               instance.setText(self.text)
                instance.selected.get().append(self.push)
                instance.selected.get().append(self.push)