NetworkSetup: fix help onleft/right, fix reload
authorFelix Domke <tmbinc@elitedvb.net>
Thu, 29 May 2008 12:33:37 +0000 (12:33 +0000)
committerFelix Domke <tmbinc@elitedvb.net>
Thu, 29 May 2008 12:33:37 +0000 (12:33 +0000)
lib/python/Screens/NetworkSetup.py

index a4a355a..5e7e811 100644 (file)
@@ -323,9 +323,11 @@ class AdapterSetupConfiguration(Screen):
                        "up": self.up,
                        "down": self.down,
                        "red": self.close,
+                       "left": self.left,
+                       "right": self.right,                    
                }, -2)
 
-               iNetwork.loadNetworkConfig()
+               iNetwork.getInterfaces()
                self.onLayoutFinish.append(self.layoutFinished)
                self.updateStatusbar()
 
@@ -357,6 +359,14 @@ class AdapterSetupConfiguration(Screen):
                self["menulist"].down()
                self.loadDescription()
 
+       def left(self):
+               self["menulist"].pageUp()
+               self.loadDescription()
+
+       def right(self):
+               self["menulist"].pageDown()
+               self.loadDescription()
+
        def layoutFinished(self):
                idx = 0
                self["menulist"].moveToIndex(idx)