aboutsummaryrefslogtreecommitdiff
path: root/lib/python
diff options
context:
space:
mode:
authorFelix Domke <tmbinc@elitedvb.net>2007-06-19 23:39:28 +0000
committerFelix Domke <tmbinc@elitedvb.net>2007-06-19 23:39:28 +0000
commit92e521a30c214ac2e65c6fb68401e90196a6c88b (patch)
tree9a188cf8553decdb43fbd67350cd77a8540acbb9 /lib/python
parente0e3801ef273ba3e35a87a57e97967be39caae74 (diff)
downloadenigma2-92e521a30c214ac2e65c6fb68401e90196a6c88b.tar.gz
enigma2-92e521a30c214ac2e65c6fb68401e90196a6c88b.zip
whitespace fixup
Diffstat (limited to 'lib/python')
-rw-r--r--lib/python/Components/Renderer/Listbox.py6
-rw-r--r--lib/python/Components/Sources/List.py2
2 files changed, 4 insertions, 4 deletions
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()