X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/6fa8e9abfc431b8516ced2b77c47bdf8bce7a263..f98dbb506836eb7cf63b92ed089e12ef51535364:/mytest.py diff --git a/mytest.py b/mytest.py index 81c9f95f..3a5ec3ec 100644 --- a/mytest.py +++ b/mytest.py @@ -92,6 +92,12 @@ class GUIOutputDevice(OutputDevice): def create(self, comp, desktop): comp.createGUIScreen(self.parent, desktop) +from Screens.Globals import Globals +from Screens.SessionGlobals import SessionGlobals +from Screens.Screen import Screen + +Screen.global_screen = Globals() + # Session.open: # * push current active dialog ('current_dialog') onto stack # * call execEnd for this dialog @@ -133,6 +139,8 @@ class Session: self.in_exec = False + self.screen = SessionGlobals(self) + for p in plugins.getPlugins(PluginDescriptor.WHERE_SESSIONSTART): p(reason=0, session=self)