revert non working code
authorAndreas Monzner <andreas.monzner@multimedia-labs.de>
Sun, 19 Feb 2006 15:36:22 +0000 (15:36 +0000)
committerAndreas Monzner <andreas.monzner@multimedia-labs.de>
Sun, 19 Feb 2006 15:36:22 +0000 (15:36 +0000)
lib/python/Components/NimManager.py
lib/python/Screens/Satconfig.py

index 3610b84..550ce84 100644 (file)
@@ -641,8 +641,7 @@ def InitNimManager(nimmgr):
                        nim.diseqcB = configElement(cname + "diseqcB", configSatlist, 130, nimmgr.satList, False);
                        nim.diseqcC = configElement(cname + "diseqcC", configSatlist, 0, nimmgr.satList, False);
                        nim.diseqcD = configElement(cname + "diseqcD", configSatlist, 0, nimmgr.satList, False);
                        nim.diseqcB = configElement(cname + "diseqcB", configSatlist, 130, nimmgr.satList, False);
                        nim.diseqcC = configElement(cname + "diseqcC", configSatlist, 0, nimmgr.satList, False);
                        nim.diseqcD = configElement(cname + "diseqcD", configSatlist, 0, nimmgr.satList, False);
-#                      nim.positionerMode = configElement(cname + "positionerMode", configSelection, 0, (("usals", _("USALS")), ("manual", _("manual"))), False);
-                       nim.positionerMode = configElement(cname + "positionerMode", configSelection, 0, (("usals", _("USALS"))), False);
+                       nim.positionerMode = configElement(cname + "positionerMode", configSelection, 0, (("usals", _("USALS")), ("manual", _("manual"))), False);
                        nim.longitude = configElement(cname + "longitude", configSequence, [5,100], configsequencearg.get("FLOAT", [(0,90),(0,999)]), False);
                        nim.longitudeOrientation = configElement(cname + "longitudeOrientation", configSelection, 0, (("east", _("East")), ("west", _("West"))), False)
                        nim.latitude = configElement(cname + "latitude", configSequence, [50,767], configsequencearg.get("FLOAT", [(0,90),(0,999)]), False);
                        nim.longitude = configElement(cname + "longitude", configSequence, [5,100], configsequencearg.get("FLOAT", [(0,90),(0,999)]), False);
                        nim.longitudeOrientation = configElement(cname + "longitudeOrientation", configSelection, 0, (("east", _("East")), ("west", _("West"))), False)
                        nim.latitude = configElement(cname + "latitude", configSequence, [50,767], configsequencearg.get("FLOAT", [(0,90),(0,999)]), False);
index b8f0d90..9ccd209 100644 (file)
@@ -21,14 +21,14 @@ class NimSetup(Screen):
                                list.append(getConfigListEntry(_("Port D"), self.nimConfig.diseqcD))
 
        def createPositionerSetup(self, list):
                                list.append(getConfigListEntry(_("Port D"), self.nimConfig.diseqcD))
 
        def createPositionerSetup(self, list):
-               list.append(getConfigListEntry(_("Positioner mode"), self.nimConfig.positionerMode))
-               if (currentConfigSelectionElement(self.nimConfig.positionerMode) == "usals"): # USALS
-                       list.append(getConfigListEntry(_("Longitude"), self.nimConfig.longitude))
-                       list.append(getConfigListEntry(" ", self.nimConfig.longitudeOrientation))
-                       list.append(getConfigListEntry(_("Latitude"), self.nimConfig.latitude))
-                       list.append(getConfigListEntry(" ", self.nimConfig.latitudeOrientation))
-               elif (currentConfigSelectionElement(self.nimConfig.positionerMode) == "manual"): # manual
-                       pass
+#              list.append(getConfigListEntry(_("Positioner mode"), self.nimConfig.positionerMode))
+#              if (currentConfigSelectionElement(self.nimConfig.positionerMode) == "usals"): # USALS
+               list.append(getConfigListEntry(_("Longitude"), self.nimConfig.longitude))
+               list.append(getConfigListEntry(" ", self.nimConfig.longitudeOrientation))
+               list.append(getConfigListEntry(_("Latitude"), self.nimConfig.latitude))
+               list.append(getConfigListEntry(" ", self.nimConfig.latitudeOrientation))
+#              elif (currentConfigSelectionElement(self.nimConfig.positionerMode) == "manual"): # manual
+#                      pass
 
        def createSetup(self):
                print "Creating setup"
 
        def createSetup(self):
                print "Creating setup"