git.cweiske.de
/
enigma2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix service/movie remove (hold cursor position when possible)
[enigma2.git]
/
lib
/
python
/
Components
/
ServiceList.py
diff --git
a/lib/python/Components/ServiceList.py
b/lib/python/Components/ServiceList.py
index d008c475682ea29a51f79a69c72113b75374d4ee..d24f956a24e2957ed6c89f1aa7cc667667cb3ecc 100644
(file)
--- 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)
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)
def GUIcreate(self, parent):
self.instance = eListbox(parent)
self.instance.setContent(self.l)