diff options
| author | Stefan Pluecken <stefan.pluecken@multimedia-labs.de> | 2005-11-12 10:11:57 +0000 |
|---|---|---|
| committer | Stefan Pluecken <stefan.pluecken@multimedia-labs.de> | 2005-11-12 10:11:57 +0000 |
| commit | 3a3ce2b7a414e90b7c611bc0689541fabbea9057 (patch) | |
| tree | 8e57b80ecc3a2cf5734ef58427c5833f427cb462 /lib/python/Screens/TimerEdit.py | |
| parent | cfa6562f66863d56a9f767c21a8b84f0c9317f7a (diff) | |
| download | enigma2-3a3ce2b7a414e90b7c611bc0689541fabbea9057.tar.gz enigma2-3a3ce2b7a414e90b7c611bc0689541fabbea9057.zip | |
add colorbuttons to TimerEditList
Diffstat (limited to 'lib/python/Screens/TimerEdit.py')
| -rw-r--r-- | lib/python/Screens/TimerEdit.py | 17 |
1 files changed, 15 insertions, 2 deletions
diff --git a/lib/python/Screens/TimerEdit.py b/lib/python/Screens/TimerEdit.py index 1bc734a6..0a9f2830 100644 --- a/lib/python/Screens/TimerEdit.py +++ b/lib/python/Screens/TimerEdit.py @@ -62,13 +62,26 @@ class TimerEditList(Screen): list.append(TimerEntryComponent(timer, 1)) self["timerlist"] = TimerList(list) + + self["key_red"] = Button("Delete") + self["key_green"] = Button("Add") + self["key_yellow"] = Button("") + self["key_blue"] = Button("") - self["actions"] = ActionMap(["OkCancelActions"], + self["actions"] = ActionMap(["OkCancelActions", "ShortcutActions"], { "ok": self.openEdit, - "cancel": self.close + "cancel": self.close, + "red": self.removeTimer, + "green": self.addTimer }) def openEdit(self): self.session.open(TimerEntry, self["timerlist"].getCurrent()[0]) #self.session.open(TimerEdit, self["timerlist"].getCurrent()[0]) + + def removeTimer(self): + pass + + def addTimer(self): + pass |
