git.cweiske.de
/
enigma2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
widget: don't crash when deallocating in wrong order
[enigma2.git]
/
mytest.py
diff --git
a/mytest.py
b/mytest.py
index 206802e7e5c6be8ff8a2f9dcd5893b22325d7770..571747c9b1cf304a7c91f8eceb25a23e1d2caf95 100644
(file)
--- a/
mytest.py
+++ b/
mytest.py
@@
-16,7
+16,9
@@
from Navigation import Navigation
from skin import readSkin, applyAllAttributes
from Components.config import configfile
from skin import readSkin, applyAllAttributes
from Components.config import configfile
-from Screens.Wizard import listActiveWizards
+from Screens.Wizard import wizardManager
+from Screens.StartWizard import *
+from Screens.TutorialWizard import *
from Tools.BoundFunction import boundFunction
had = dict()
from Tools.BoundFunction import boundFunction
had = dict()
@@
-74,8
+76,6
@@
class Session:
if self.currentDialog.isTmp:
self.currentDialog.doClose()
if self.currentDialog.isTmp:
self.currentDialog.doClose()
-
- del self.currentDialog.instance
# dump(self.currentDialog)
del self.currentDialog
else:
# dump(self.currentDialog)
del self.currentDialog
else:
@@
-120,6
+120,9
@@
class Session:
quitMainloop(5)
print '-'*60
quitMainloop(5)
print '-'*60
+ if dlg is None:
+ return
+
# read skin data
readSkin(dlg, None, dlg.skinName, self.desktop)
# read skin data
readSkin(dlg, None, dlg.skinName, self.desktop)
@@
-177,7
+180,7
@@
def runScreenTest():
session.nav = Navigation()
session.nav = Navigation()
- screensToRun =
listActive
Wizards()
+ screensToRun =
wizardManager.get
Wizards()
screensToRun.append(Screens.InfoBar.InfoBar)
def runNextScreen(session, screensToRun, *result):
screensToRun.append(Screens.InfoBar.InfoBar)
def runNextScreen(session, screensToRun, *result):