aboutsummaryrefslogtreecommitdiff
path: root/lib/python/Screens/SimpleSummary.py
diff options
context:
space:
mode:
authorFelix Domke <tmbinc@elitedvb.net>2007-09-30 15:05:39 +0000
committerFelix Domke <tmbinc@elitedvb.net>2007-09-30 15:05:39 +0000
commit7cdca2a2cfb44ad34a3b36fb589f02b861c411c3 (patch)
treed9944f4ee6a171e9ed3f9c6028d50d012d640070 /lib/python/Screens/SimpleSummary.py
parent29ca0aed97fb878905fa932facd6515200fc50f5 (diff)
downloadenigma2-7cdca2a2cfb44ad34a3b36fb589f02b861c411c3.tar.gz
enigma2-7cdca2a2cfb44ad34a3b36fb589f02b861c411c3.zip
replace some more Clock() by ObsoleteSource redirect (and fix skin_default), by Moritz Venn
Diffstat (limited to 'lib/python/Screens/SimpleSummary.py')
-rw-r--r--lib/python/Screens/SimpleSummary.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/python/Screens/SimpleSummary.py b/lib/python/Screens/SimpleSummary.py
index 1a5fe887..651d2e3d 100644
--- a/lib/python/Screens/SimpleSummary.py
+++ b/lib/python/Screens/SimpleSummary.py
@@ -1,10 +1,10 @@
from Screens.Screen import Screen
-from Components.Sources.Clock import Clock
+from Components.Sources.Source import ObsoleteSource
class SimpleSummary(Screen):
skin = """
<screen position="0,0" size="132,64">
- <widget name="Clock" position="56,46" size="82,18" font="Regular;16">
+ <widget name="global.CurrentTime" 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" />
@@ -12,7 +12,7 @@ class SimpleSummary(Screen):
def __init__(self, session, root_screen):
from Components.Label import Label
Screen.__init__(self, session)
- self["Clock"] = Clock()
+ self["Clock"] = ObsoleteSource(new_source = "global.CurrentTime", removal_date = "2008-01")
self["Title"] = Label(root_screen.title)
def setTitle(self, title):