git.cweiske.de
/
enigma2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Subtitles.py: add possibilty to use this screen with other InfoBarSubtitleSupport...
[enigma2.git]
/
lib
/
python
/
Screens
/
Subtitles.py
diff --git
a/lib/python/Screens/Subtitles.py
b/lib/python/Screens/Subtitles.py
index 86944671eccf19738c4504f52b8f76309ad76592..9ba7e0a56e0e1acedaed0cc384163add73f126b0 100644
(file)
--- a/
lib/python/Screens/Subtitles.py
+++ b/
lib/python/Screens/Subtitles.py
@@
-8,7
+8,7
@@
from enigma import iPlayableService
from Tools.ISO639 import LanguageCodes
class Subtitles(Screen, ConfigListScreen):
from Tools.ISO639 import LanguageCodes
class Subtitles(Screen, ConfigListScreen):
- def __init__(self, session):
+ def __init__(self, session
, infobar=None
):
Screen.__init__(self, session)
self["actions"] = ActionMap(["SetupActions"],
Screen.__init__(self, session)
self["actions"] = ActionMap(["SetupActions"],
@@
-19,7
+19,7
@@
class Subtitles(Screen, ConfigListScreen):
self.list = []
ConfigListScreen.__init__(self, self.list)
self.list = []
ConfigListScreen.__init__(self, self.list)
- self.infobar = self.session.infobar
+ self.infobar =
infobar or
self.session.infobar
self.fillList()
self.__event_tracker = ServiceEventTracker(screen=self, eventmap=
self.fillList()
self.__event_tracker = ServiceEventTracker(screen=self, eventmap=