aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRonny Strutz <ronny.strutz@multimedia-labs.de>2005-11-15 04:36:53 +0000
committerRonny Strutz <ronny.strutz@multimedia-labs.de>2005-11-15 04:36:53 +0000
commiteaf7dc217cb2f3ec7036f5442d0096d0aacd13db (patch)
tree5f3f2bb6c18d836771c6383c41d59e697e026409
parent732d8e1232eb2492af79c2ee38b7cde37fa84ad9 (diff)
downloadenigma2-eaf7dc217cb2f3ec7036f5442d0096d0aacd13db.tar.gz
enigma2-eaf7dc217cb2f3ec7036f5442d0096d0aacd13db.zip
add lastservice-entry
-rw-r--r--lib/python/Components/SetupDevices.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/python/Components/SetupDevices.py b/lib/python/Components/SetupDevices.py
index 5ced8451..3161f125 100644
--- a/lib/python/Components/SetupDevices.py
+++ b/lib/python/Components/SetupDevices.py
@@ -4,6 +4,7 @@ from config import configElement
from config import ConfigSubsection
from config import ConfigSlider
from config import configSelection
+from config import configText
def InitSetupDevices():
config.timezone = ConfigSubsection();
@@ -32,3 +33,11 @@ def InitSetupDevices():
config.expert.skipconfirm = configElement("config.expert.skipconfirm", configSelection, 1, ("Enable", "Disable") );
config.expert.hideerrors = configElement("config.expert.hideerrors", configSelection, 1, ("Enable", "Disable") );
config.expert.autoinfo = configElement("config.expert.autoinfo", configSelection, 1, ("Enable", "Disable") );
+
+ #here?
+ config.tv = ConfigSubsection();
+ config.tv.lastservice = configElement("config.tv.lastservice", configText, "", 0);
+
+ config.tv.lastservice.value = "blasel"
+ config.tv.lastservice.save()
+