From: Felix Domke Date: Tue, 19 Jun 2007 23:39:28 +0000 (+0000) Subject: whitespace fixup X-Git-Tag: 2.6.0~2152 X-Git-Url: https://git.cweiske.de/enigma2.git/commitdiff_plain/92e521a30c214ac2e65c6fb68401e90196a6c88b whitespace fixup --- diff --git a/lib/python/Components/Renderer/Listbox.py b/lib/python/Components/Renderer/Listbox.py index d784b614..a1f89377 100644 --- a/lib/python/Components/Renderer/Listbox.py +++ b/lib/python/Components/Renderer/Listbox.py @@ -46,7 +46,7 @@ class Listbox(Renderer, object): self.__wrap_around = wrap_around if self.instance is not None: self.instance.setWrapAround(self.__wrap_around) - + wrap_around = property(lambda self: self.__wrap_around, setWrapAround) def selectionChanged(self): @@ -56,14 +56,14 @@ class Listbox(Renderer, object): if self.instance is None: return None return self.instance.getCurrentIndex() - + def moveToIndex(self, index): if self.instance is None: return self.instance.moveSelectionTo(index) index = property(getIndex, moveToIndex) - + def move(self, direction): if self.instance is not None: self.instance.moveSelection(direction) diff --git a/lib/python/Components/Sources/List.py b/lib/python/Components/Sources/List.py index 6d083f05..e141da59 100644 --- a/lib/python/Components/Sources/List.py +++ b/lib/python/Components/Sources/List.py @@ -31,7 +31,7 @@ to generate HTML.""" def selectionChanged(self, index): if self.disable_callbacks: return - + for x in self.onSelectionChanged: x()