aboutsummaryrefslogtreecommitdiff
path: root/lib/python/Components/ServiceList.py
diff options
context:
space:
mode:
Diffstat (limited to 'lib/python/Components/ServiceList.py')
-rw-r--r--lib/python/Components/ServiceList.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/python/Components/ServiceList.py b/lib/python/Components/ServiceList.py
index d008c475..d24f956a 100644
--- a/lib/python/Components/ServiceList.py
+++ b/lib/python/Components/ServiceList.py
@@ -43,6 +43,12 @@ class ServiceList(HTMLComponent, GUIComponent):
self.instance.moveSelectionTo(index)
print "Moving to character " + str(char)
+ def moveToIndex(self, index):
+ self.instance.moveSelectionTo(index)
+
+ def getCurrentIndex(self):
+ return self.instance.getCurrentIndex()
+
def GUIcreate(self, parent):
self.instance = eListbox(parent)
self.instance.setContent(self.l)