aboutsummaryrefslogtreecommitdiff
path: root/lib/python/Screens
diff options
context:
space:
mode:
Diffstat (limited to 'lib/python/Screens')
-rw-r--r--lib/python/Screens/NetworkSetup.py3
-rw-r--r--lib/python/Screens/ScanSetup.py11
2 files changed, 13 insertions, 1 deletions
diff --git a/lib/python/Screens/NetworkSetup.py b/lib/python/Screens/NetworkSetup.py
index 3f5520b1..8b552654 100644
--- a/lib/python/Screens/NetworkSetup.py
+++ b/lib/python/Screens/NetworkSetup.py
@@ -4,6 +4,7 @@ from Components.ConfigList import ConfigList
from Components.config import config
from Components.config import getConfigListEntry
from Components.Network import iNetwork
+from Components.Label import Label
class NetworkSetup(Screen):
def __init__(self, session):
@@ -31,6 +32,8 @@ class NetworkSetup(Screen):
self["config"] = ConfigList(self.list)
self.createSetup()
+ self["introduction"] = Label("Press OK to activate the settings.")
+
def createSetup(self):
self.list = []
diff --git a/lib/python/Screens/ScanSetup.py b/lib/python/Screens/ScanSetup.py
index e93f0212..8f3c1e89 100644
--- a/lib/python/Screens/ScanSetup.py
+++ b/lib/python/Screens/ScanSetup.py
@@ -4,6 +4,8 @@ from Components.ConfigList import ConfigList
from Components.config import config
from Components.config import getConfigListEntry
from Components.NimManager import nimmanager
+from Components.Label import Label
+from Components.ScanSetup import InitScanSetup
class ScanSetup(Screen):
def __init__(self, session):
@@ -20,8 +22,11 @@ class ScanSetup(Screen):
self.list = []
self["config"] = ConfigList(self.list)
self.createSetup()
+
+ self["introduction"] = Label("Press OK to start the scan")
def createSetup(self):
+ #InitScanSetup()
self.list = []
self.list.append(getConfigListEntry("Type of scan", config.scan.type))
@@ -53,8 +58,12 @@ class ScanSetup(Screen):
self.list.append(getConfigListEntry("Hierarchy mode", config.scan.ter.hierarchy))
# single satellite scan
+ print "NIM: ", config.scan.nims.value
+ print config.scan.satselection
if (config.scan.type.value == 1):
- pass
+ print config.scan.satselection[config.scan.nims.value]
+ self.list.append(getConfigListEntry("Satellite", config.scan.satselection[config.scan.nims.value]))
+
# multi sat scan
if (config.scan.type.value == 2):