From 7cdca2a2cfb44ad34a3b36fb589f02b861c411c3 Mon Sep 17 00:00:00 2001 From: Felix Domke Date: Sun, 30 Sep 2007 15:05:39 +0000 Subject: replace some more Clock() by ObsoleteSource redirect (and fix skin_default), by Moritz Venn --- lib/python/Screens/SimpleSummary.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lib/python/Screens/SimpleSummary.py') 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 = """ - + WithSeconds @@ -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): -- cgit v1.2.3