X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/301bab11f8453a6899153b7be338a352803b22cb..7b9d3432c8b671621bba5803a0e44cb295f7f6f8:/lib/python/Screens/TimerEdit.py diff --git a/lib/python/Screens/TimerEdit.py b/lib/python/Screens/TimerEdit.py index 173b1ba2..1bc734a6 100644 --- a/lib/python/Screens/TimerEdit.py +++ b/lib/python/Screens/TimerEdit.py @@ -1,10 +1,11 @@ from Screen import Screen -from Components.TimerList import TimerList, TimerEntry +from Components.TimerList import TimerList, TimerEntryComponent from Components.ActionMap import ActionMap from Components.TimeInput import TimeInput from Components.Label import Label from Components.Button import Button from Components.TextInput import TextInput +from TimerEntry import TimerEntry class TimerEdit(Screen): def __init__(self, session, entry): @@ -55,18 +56,19 @@ class TimerEditList(Screen): list = [ ] for timer in session.nav.RecordTimer.timer_list: - list.append(TimerEntry(timer, 0)) + list.append(TimerEntryComponent(timer, 0)) for timer in session.nav.RecordTimer.processed_timers: - list.append(TimerEntry(timer, 1)) + list.append(TimerEntryComponent(timer, 1)) self["timerlist"] = TimerList(list) self["actions"] = ActionMap(["OkCancelActions"], { -# "ok": self.openEdit, + "ok": self.openEdit, "cancel": self.close }) def openEdit(self): - self.session.open(TimerEdit, self["timerlist"].getCurrent()[0]) + self.session.open(TimerEntry, self["timerlist"].getCurrent()[0]) + #self.session.open(TimerEdit, self["timerlist"].getCurrent()[0])