aboutsummaryrefslogtreecommitdiff
path: root/lib/python
diff options
context:
space:
mode:
authorStefan Pluecken <stefan.pluecken@multimedia-labs.de>2005-11-07 23:18:24 +0000
committerStefan Pluecken <stefan.pluecken@multimedia-labs.de>2005-11-07 23:18:24 +0000
commit083461688d74365ad6e36a1877758a7a0d1f76ca (patch)
tree7a6dd8209a6a8a3c36a6c6d38b61c4af67bba263 /lib/python
parent554e450207f364dba6ff44cabed008427dc44440 (diff)
downloadenigma2-083461688d74365ad6e36a1877758a7a0d1f76ca.tar.gz
enigma2-083461688d74365ad6e36a1877758a7a0d1f76ca.zip
added an example for weekday selection
Diffstat (limited to 'lib/python')
-rw-r--r--lib/python/Components/config.py2
-rw-r--r--lib/python/Screens/TimerEntry.py4
2 files changed, 4 insertions, 2 deletions
diff --git a/lib/python/Components/config.py b/lib/python/Components/config.py
index a28c40ca..dfd5d597 100644
--- a/lib/python/Components/config.py
+++ b/lib/python/Components/config.py
@@ -106,7 +106,7 @@ class configDateTime:
if key == config.key["nextElement"]:
self.parent.value = self.parent.value + self.parent.vals[1]
- self.checkValues()
+ self.checkValues()
self.parent.change()
diff --git a/lib/python/Screens/TimerEntry.py b/lib/python/Screens/TimerEntry.py
index f09a16b2..91e96732 100644
--- a/lib/python/Screens/TimerEntry.py
+++ b/lib/python/Screens/TimerEntry.py
@@ -41,12 +41,14 @@ class TimerEntry(Screen):
config.timerentry.date = configElement_nonSave("config.timerentry.date", configDateTime, time(), ("%d.%B %Y", 86400))
config.timerentry.time = configElement_nonSave("config.timerentry.time", configDateTime, time(), ("%H:%M", 60))
+ config.timerentry.weekday = configElement_nonSave("config.timerentry.weekday", configDateTime, time(), ("%A", 86400))
def createSetup(self):
self.list = []
self.list.append(getConfigListEntry("Date", config.timerentry.date))
- self.list.append(getConfigListEntry("Time", config.timerentry.time))
+ self.list.append(getConfigListEntry("Time", config.timerentry.time))
+ self.list.append(getConfigListEntry("Weekday", config.timerentry.weekday))
self["config"].list = self.list
self["config"].l.setList(self.list)