X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/aa3e781f31a04223416f0a34b25ab95fc0bef429..1024b449f8548eb7a77361ff9d8113ab4ab7a27f:/lib/python/Components/VariableText.py diff --git a/lib/python/Components/VariableText.py b/lib/python/Components/VariableText.py index 694355e7..76dc201a 100644 --- a/lib/python/Components/VariableText.py +++ b/lib/python/Components/VariableText.py @@ -1,3 +1,5 @@ +import skin + class VariableText: """VariableText can be used for components which have a variable text, based on any widget with setText call""" @@ -13,8 +15,8 @@ class VariableText: def getText(self): return self.message - def GUIcreate(self, parent, skindata): - self.instance = self.createWidget(parent, skindata) + def GUIcreate(self, parent): + self.instance = self.createWidget(parent) self.instance.setText(self.message) def GUIdelete(self):