- add *.pyc to .cvsignore
[enigma2.git] / mytest.py
index 1f863020c254906d3724220501a960158476b71f..bfc015c3634726cd54c36c0e5f1ffc05dcc1ca3f 100644 (file)
--- a/mytest.py
+++ b/mytest.py
@@ -1,12 +1,13 @@
 from enigma import *
 from tools import *
 
 from enigma import *
 from tools import *
 
+import Screens.InfoBar
+
 import RecordTimer
 
 import sys
 import time
 
 import RecordTimer
 
 import sys
 import time
 
-from screens import *
 from skin import applyGUIskin
 
 # A screen is a function which instanciates all components of a screen into a temporary component.
 from skin import applyGUIskin
 
 # A screen is a function which instanciates all components of a screen into a temporary component.
@@ -36,12 +37,6 @@ def dump(dir, p = ""):
 
 # + ":" + str(dir.__class__)
 
 
 # + ":" + str(dir.__class__)
 
-# defined components
-components = {}
-
-# do global
-doGlobal(components)
-
 # display
 
 class OutputDevice:
 # display
 
 class OutputDevice:
@@ -210,7 +205,7 @@ def runScreenTest():
        
        session.nav = Navigation()
        
        
        session.nav = Navigation()
        
-       session.open(infoBar)
+       session.open(Screens.InfoBar.InfoBar)
 
        CONNECT(keyPressedSignal(), session.keyEvent)
        
 
        CONNECT(keyPressedSignal(), session.keyEvent)