X-Git-Url: http://code.vuplus.com/gitweb/?p=vuplus_dvbapp;a=blobdiff_plain;f=mytest.py;h=3a5ec3ecf5a288c598cbeef097f56cdfe557e88c;hp=81c9f95f4dd5b59960f427c0550731d1bb8de3e5;hb=a12f0f98d99109a64942abf1bb1f6e429c2fc7f5;hpb=c62a259bfa8d576c05e7ac6bd1b978340f30135b diff --git a/mytest.py b/mytest.py index 81c9f95..3a5ec3e 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)