aboutsummaryrefslogtreecommitdiff
path: root/lib/python/Components
diff options
context:
space:
mode:
Diffstat (limited to 'lib/python/Components')
-rw-r--r--lib/python/Components/EpgList.py1
-rw-r--r--lib/python/Components/ServiceList.py9
2 files changed, 9 insertions, 1 deletions
diff --git a/lib/python/Components/EpgList.py b/lib/python/Components/EpgList.py
index a8750485..542f5d9a 100644
--- a/lib/python/Components/EpgList.py
+++ b/lib/python/Components/EpgList.py
@@ -103,6 +103,7 @@ class EPGList(HTMLComponent, GUIComponent):
def GUIcreate(self, parent):
self.instance = eListbox(parent)
+ self.instance.setWrapAround(True)
self.instance.selectionChanged.get().append(self.selectionChanged)
self.instance.setContent(self.l)
if SINGLE_CPP > 0:
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)