patch for vuplus again
[vuplus_dvbapp] / lib / python / Screens / Subtitles.py
old mode 100644 (file)
new mode 100755 (executable)
index 9ba7e0a..8cabac4
@@ -7,6 +7,9 @@ from enigma import iPlayableService
 
 from Tools.ISO639 import LanguageCodes
 
+#      ikseong for subtitle hotkey
+from Screens.InfoBar import InfoBar
+
 class Subtitles(Screen, ConfigListScreen):
        def __init__(self, session, infobar=None):
                Screen.__init__(self, session)
@@ -19,7 +22,13 @@ class Subtitles(Screen, ConfigListScreen):
 
                self.list = []
                ConfigListScreen.__init__(self, self.list)
-               self.infobar = infobar or self.session.infobar
+#      ikseong for subtitle hotkey
+               if self.session.infobar is None:        
+                       if InfoBar.instance:
+                               self.infobar = InfoBar.instance
+               else:
+                       self.infobar = self.session.infobar
+#
                self.fillList()
 
                self.__event_tracker = ServiceEventTracker(screen=self, eventmap=