aboutsummaryrefslogtreecommitdiff
path: root/lib/python/Components/ServiceList.py
diff options
context:
space:
mode:
authorAndreas Monzner <andreas.monzner@multimedia-labs.de>2006-02-03 15:38:45 +0000
committerAndreas Monzner <andreas.monzner@multimedia-labs.de>2006-02-03 15:38:45 +0000
commitf097c3b368c10b7c88f63038459c4c5a38889a1f (patch)
tree427c470f34173538d73d6729ee2fd6300f81f751 /lib/python/Components/ServiceList.py
parent9314a07dfcc0a5123beb50ddb198cbcc5805d7db (diff)
downloadenigma2-f097c3b368c10b7c88f63038459c4c5a38889a1f.tar.gz
enigma2-f097c3b368c10b7c88f63038459c4c5a38889a1f.zip
enable wrap around in epglist and servicelist
Diffstat (limited to 'lib/python/Components/ServiceList.py')
-rw-r--r--lib/python/Components/ServiceList.py9
1 files changed, 8 insertions, 1 deletions
diff --git a/lib/python/Components/ServiceList.py b/lib/python/Components/ServiceList.py
index 2cef35c1..2b80c225 100644
--- a/lib/python/Components/ServiceList.py
+++ b/lib/python/Components/ServiceList.py
@@ -25,12 +25,18 @@ class ServiceList(HTMLComponent, GUIComponent):
self.l.getCurrent(r)
return r
+ def atBegin(self):
+ return self.instance.atBegin()
+
+ def atEnd(self):
+ return self.instance.atEnd()
+
def moveUp(self):
self.instance.moveSelection(self.instance.moveUp)
def moveDown(self):
self.instance.moveSelection(self.instance.moveDown)
-
+
def moveToChar(self, char):
# TODO fill with life
print "Next char: "
@@ -51,6 +57,7 @@ class ServiceList(HTMLComponent, GUIComponent):
def GUIcreate(self, parent):
self.instance = eListbox(parent)
+ self.instance.setWrapAround(True)
self.instance.setContent(self.l)
self.setMode(self.mode)