aboutsummaryrefslogtreecommitdiff
path: root/lib/python/Screens/TimerEntry.py
diff options
context:
space:
mode:
authorStefan Pluecken <stefan.pluecken@multimedia-labs.de>2005-11-11 23:16:40 +0000
committerStefan Pluecken <stefan.pluecken@multimedia-labs.de>2005-11-11 23:16:40 +0000
commit7b9d3432c8b671621bba5803a0e44cb295f7f6f8 (patch)
treef4766d83db304e3ee88386d2a9902068a086bb89 /lib/python/Screens/TimerEntry.py
parentd6f678d05d649af1d5b124c85adeab350ab40645 (diff)
downloadenigma2-7b9d3432c8b671621bba5803a0e44cb295f7f6f8.tar.gz
enigma2-7b9d3432c8b671621bba5803a0e44cb295f7f6f8.zip
add configText for entering text in the configList (numbers only at the moment)
Diffstat (limited to 'lib/python/Screens/TimerEntry.py')
-rw-r--r--lib/python/Screens/TimerEntry.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/python/Screens/TimerEntry.py b/lib/python/Screens/TimerEntry.py
index c61e9ab3..000e8c28 100644
--- a/lib/python/Screens/TimerEntry.py
+++ b/lib/python/Screens/TimerEntry.py
@@ -40,6 +40,7 @@ class TimerEntry(Screen):
config.timerentry = ConfigSubsection()
config.timerentry.type = configElement_nonSave("config.timerentry.type", configSelection, 0, ("once", "repeated"))
+ config.timerentry.description = configElement_nonSave("config.timerentry.description", configText, timer.description, (configText.extendableSize,))
config.timerentry.startdate = configElement_nonSave("config.timerentry.startdate", configDateTime, timer.begin, ("%d.%B %Y", 86400))
config.timerentry.starttime = configElement_nonSave("config.timerentry.starttime", configSequence, [int(strftime("%H", localtime(timer.begin))), int(strftime("%M", localtime(timer.begin)))], configsequencearg.get("CLOCK"))
#config.timerentry.starttime = configElement_nonSave("config.timerentry.starttime", configDateTime, timer.begin, ("%H:%M", 60))
@@ -50,6 +51,7 @@ class TimerEntry(Screen):
def createSetup(self):
self.list = []
+ self.list.append(getConfigListEntry("Description", config.timerentry.description))
self.list.append(getConfigListEntry("TimerType", config.timerentry.type))
if (config.timerentry.type.value == 0):