whitespace cleanup
authorFelix Domke <tmbinc@elitedvb.net>
Thu, 12 Apr 2007 14:27:29 +0000 (14:27 +0000)
committerFelix Domke <tmbinc@elitedvb.net>
Thu, 12 Apr 2007 14:27:29 +0000 (14:27 +0000)
lib/python/Screens/LanguageSelection.py

index 83d03403782bf63c517385026e68622230721ad0..87fbc1108510fe0529627ae4dcb7c5407ebf3a4f 100644 (file)
@@ -10,14 +10,14 @@ from Components.config import config
 class LanguageSelection(Screen):
        def __init__(self, session):
                Screen.__init__(self, session)
-               
+
                self.oldActiveLanguage = language.getActiveLanguage()
-               
+
                self.list = []
                self["list"] = LanguageList(self.list)
                self.updateList()
                self.onLayoutFinish.append(self.selectActiveLanguage)
-                               
+
                self["actions"] = ActionMap(["OkCancelActions", "DirectionActions"], 
                {
                        "ok": self.save,
@@ -27,7 +27,7 @@ class LanguageSelection(Screen):
                        "left": self.left,
                        "right": self.right
                }, -1)
-               
+
        def selectActiveLanguage(self):
                activeLanguage = language.getActiveLanguage()
                pos = 0
@@ -36,15 +36,15 @@ class LanguageSelection(Screen):
                                self["list"].instance.moveSelectionTo(pos)
                                break
                        pos += 1
-               
+
        def save(self):
                self.run()
                self.close()
-       
+
        def cancel(self):
                language.activateLanguage(self.oldActiveLanguage)
                self.close()
-       
+
        def run(self):
                language.activateLanguage(self["list"].l.getCurrentSelection()[0])
                config.osd.language.value = self["list"].l.getCurrentSelection()[0]
@@ -67,7 +67,7 @@ class LanguageSelection(Screen):
                self["list"].instance.moveSelection(self["list"].instance.moveUp)
                self.run()
                self.updateList()
-               
+
        def down(self):
                self["list"].instance.moveSelection(self["list"].instance.moveDown)
                self.run()
@@ -77,8 +77,8 @@ class LanguageSelection(Screen):
                self["list"].instance.moveSelection(self["list"].instance.pageUp)
                self.run()
                self.updateList()
-               
+
        def right(self):
                self["list"].instance.moveSelection(self["list"].instance.pageDown)
                self.run()
-               self.updateList()
\ No newline at end of file
+               self.updateList()