fix crash on opening satfinder / motor plugin
authorAndreas Monzner <andreas.monzner@multimedia-labs.de>
Mon, 28 Jul 2008 09:38:01 +0000 (09:38 +0000)
committerAndreas Monzner <andreas.monzner@multimedia-labs.de>
Mon, 28 Jul 2008 09:38:01 +0000 (09:38 +0000)
lib/python/Plugins/SystemPlugins/PositionerSetup/plugin.py
lib/python/Plugins/SystemPlugins/Satfinder/plugin.py

index 4ade7fe0a6e1828afa7218e7d150cf543098df05..a4008c2dff912feac0ec46eebca83c585d45cf60 100644 (file)
@@ -535,7 +535,7 @@ class TunerScreen(ScanSetup):
        def keyCancel(self):
                self.close(None)
 
-class NimSelection(Screen):
+class RotorNimSelection(Screen):
        skin = """
                <screen position="140,165" size="400,100" title="select Slot">
                        <widget name="nimlist" position="20,10" size="360,75" />
@@ -577,7 +577,7 @@ def PositionerMain(session, **kwargs):
                        if len(usableNims) == 1:
                                session.open(PositionerSetup, usableNims[0])
                        elif len(usableNims) > 1:
-                               session.open(NimSelection)
+                               session.open(RotorNimSelection)
                        else:
                                session.open(MessageBox, _("No tuner is configured for use with a diseqc positioner!"), MessageBox.TYPE_ERROR)
 
index 26d7620022240e120d9eceddb146716af6092d27..7456885533002f271c1b959fc66538a49e2d2069 100644 (file)
@@ -254,7 +254,7 @@ class Satfinder(ScanSetup):
                        if transponder is not None:
                                self.tuner.tune(transponder)
 
-class NimSelection(Screen):
+class SatNimSelection(Screen):
        skin = """
                <screen position="140,165" size="400,100" title="select Slot">
                        <widget name="nimlist" position="20,10" size="360,75" />
@@ -291,7 +291,7 @@ def SatfinderMain(session, **kwargs):
                        if len(nimList) == 1:
                                session.open(Satfinder, nimList[0])
                        else:
-                               session.open(NimSelection)
+                               session.open(SatNimSelection)
 
 def SatfinderStart(menuid, **kwargs):
        if menuid == "scan":