From 1b1b733e65f6683aa3887e63f832b74f76b4d5fd Mon Sep 17 00:00:00 2001 From: Andreas Monzner Date: Mon, 19 Dec 2005 12:05:48 +0000 Subject: fix service/movie remove (hold cursor position when possible) change titlebar of channelselection when edit mode or move mode is enabled --- lib/python/Components/ServiceList.py | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'lib/python/Components/ServiceList.py') 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) -- cgit v1.2.3