aboutsummaryrefslogtreecommitdiff
path: root/lib/python/Screens/Satconfig.py
diff options
context:
space:
mode:
authorStefan Pluecken <stefan.pluecken@multimedia-labs.de>2010-10-02 14:50:56 +0200
committerStefan Pluecken <stefan.pluecken@multimedia-labs.de>2010-10-02 14:50:56 +0200
commit970cdaf1f5137645fad5f1404d29fdd90127f5fb (patch)
tree8af4b11784c911e75eb79b5fe5d683a875df3e46 /lib/python/Screens/Satconfig.py
parentb4ace468cc77afa31bc829b98c08189ad5e42f97 (diff)
downloadenigma2-970cdaf1f5137645fad5f1404d29fdd90127f5fb.tar.gz
enigma2-970cdaf1f5137645fad5f1404d29fdd90127f5fb.zip
fixes bug #587
- use new internally connectable detection mechanism - display unsupported tuners
Diffstat (limited to 'lib/python/Screens/Satconfig.py')
-rw-r--r--lib/python/Screens/Satconfig.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/python/Screens/Satconfig.py b/lib/python/Screens/Satconfig.py
index 44f4251a..a5712dcd 100644
--- a/lib/python/Screens/Satconfig.py
+++ b/lib/python/Screens/Satconfig.py
@@ -489,7 +489,7 @@ class NimSelection(Screen):
def okbuttonClick(self):
nim = self["nimlist"].getCurrent()
nim = nim and nim[3]
- if nim is not None and not nim.empty:
+ if nim is not None and not nim.empty and nim.isSupported():
self.session.openWithCallback(self.updateList, self.resultclass, nim.slot)
def showNim(self, nim):
@@ -548,6 +548,8 @@ class NimSelection(Screen):
text = _("enabled")
if x.isMultiType():
text = _("Switchable tuner types:") + "(" + ','.join(x.getMultiTypeList().values()) + ")" + "\n" + text
+ if not x.isSupported():
+ text = _("tuner is not supported")
self.list.append((slotid, x.friendly_full_description, text, x))
self["nimlist"].setList(self.list)