X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/b1d4a0b06608906144928198f66062705a8041fd..32e138da53cdc01960e274fc5f242805198f8aea:/lib/python/Plugins/Extensions/GraphMultiEPG/plugin.py diff --git a/lib/python/Plugins/Extensions/GraphMultiEPG/plugin.py b/lib/python/Plugins/Extensions/GraphMultiEPG/plugin.py index a247a618..adb7015d 100644 --- a/lib/python/Plugins/Extensions/GraphMultiEPG/plugin.py +++ b/lib/python/Plugins/Extensions/GraphMultiEPG/plugin.py @@ -42,8 +42,8 @@ def cleanup(): def closed(ret=False): closedScreen = dlg_stack.pop() + global bouquetSel if bouquetSel and closedScreen == bouquetSel: - global bouquetSel bouquetSel = None dlgs=len(dlg_stack) if ret and dlgs > 0: # recursive close wished @@ -69,6 +69,7 @@ def changeBouquetCB(direction, epg): bouquet = bouquetSel.getCurrent() services = getBouquetServices(bouquet) if len(services): + global epg_bouquet epg_bouquet = bouquet epg.setServices(services) @@ -93,4 +94,5 @@ def main(session, servicelist, **kwargs): def Plugins(**kwargs): name = _("Graphical Multi EPG") descr = _("A graphical EPG for all services of an specific bouquet") - return [ PluginDescriptor(name=name, description=descr, where = PluginDescriptor.WHERE_EXTENSIONSMENU, fnc=main) ] + return [ PluginDescriptor(name=name, description=descr, where = PluginDescriptor.WHERE_EVENTINFO, fnc=main), + PluginDescriptor(name=name, description=descr, where = PluginDescriptor.WHERE_EXTENSIONSMENU, fnc=main) ]