aboutsummaryrefslogtreecommitdiff
path: root/lib/python/Screens
diff options
context:
space:
mode:
authorghost <andreas.monzner@multimedia-labs.de>2010-10-14 13:21:33 +0200
committerghost <andreas.monzner@multimedia-labs.de>2010-10-14 13:21:33 +0200
commit12e1565871ab397a50384af408b9120aeb35d077 (patch)
tree1a09c3d607e45e4c0f60264ce784434252db53dc /lib/python/Screens
parent3ba5a94fb9e11aba156cd841a6e3feff030f08f3 (diff)
parentd21824019fe93603f1c05c7263ef7570aa60e135 (diff)
downloadenigma2-12e1565871ab397a50384af408b9120aeb35d077.tar.gz
enigma2-12e1565871ab397a50384af408b9120aeb35d077.zip
Merge remote branch 'remotes/origin/bug_587_new_internally_connectable_and_unsupported_tuner_management'
Diffstat (limited to 'lib/python/Screens')
-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)