diff options
| author | acid-burn <acidburn@opendreambox.org> | 2009-10-14 20:43:13 +0200 |
|---|---|---|
| committer | acid-burn <acidburn@opendreambox.org> | 2009-10-14 20:43:13 +0200 |
| commit | 7e777467025af8ad77c21be4d018a2733e6649a7 (patch) | |
| tree | 6c5516b2fec72ce141f8f1030a0dee0ab3b59f97 /lib | |
| parent | cccb35a4aeef1ba919411b35553902c86f57b856 (diff) | |
| download | enigma2-7e777467025af8ad77c21be4d018a2733e6649a7.tar.gz enigma2-7e777467025af8ad77c21be4d018a2733e6649a7.zip | |
Enigma2{skin_default.xml,SimpleSummary.py}: - Fix SimpleSummary, thx ritzMo
Diffstat (limited to 'lib')
| -rwxr-xr-x[-rw-r--r--] | lib/python/Screens/SimpleSummary.py | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/lib/python/Screens/SimpleSummary.py b/lib/python/Screens/SimpleSummary.py index 41875641..992e343c 100644..100755 --- a/lib/python/Screens/SimpleSummary.py +++ b/lib/python/Screens/SimpleSummary.py @@ -7,10 +7,10 @@ class SimpleSummary(Screen): <widget source="global.CurrentTime" render="Label" position="56,46" size="82,18" font="Regular;16"> <convert type="ClockToText">WithSeconds</convert> </widget> - <widget name="Title" position="6,4" size="120,42" font="Regular;18" /> + <widget source="parent.Title" render="Label" position="6,4" size="120,42" font="Regular;18" /> </screen>""" def __init__(self, session, parent): - from Components.Label import Label + Screen.__init__(self, session, parent = parent) names = parent.skinName @@ -23,7 +23,3 @@ class SimpleSummary(Screen): # 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) |
