remove duplicate code, add 'quit and delete movie'-option (experts only), move import...
[enigma2.git] / lib / python / Screens / ImageWizard.py
index 5617e8f183b88f070d3ac9cc1efb7cb2cba9c062..faf6120bfae5482f20393e0c6bc5cf89d525a84b 100644 (file)
@@ -1,9 +1,5 @@
 from Wizard import Wizard, wizardManager
 
 from Wizard import Wizard, wizardManager
 
-from Components.config import configElementBoolean, config
-from Components.Pixmap import *
-
-from LanguageSelection import LanguageSelection
 from Tools.Directories import fileExists
 
 import os
 from Tools.Directories import fileExists
 
 import os
@@ -23,22 +19,14 @@ else:
        backupAvailable = 1
 
 class ImageWizard(Wizard):
        backupAvailable = 1
 
 class ImageWizard(Wizard):
-       skin = """
-               <screen position="0,0" size="720,576" title="Welcome..." flags="wfNoBorder">
-                       <widget name="text" position="50,100" size="440,250" font="Regular;22" />
-                       <widget name="list" position="50,350" zPosition="1" size="440,200" />
-                       <widget name="config" position="50,350" zPosition="1" size="440,200" transparent="1" scrollbarMode="showOnDemand" />
-               </screen>"""
-       
        def __init__(self, session):
                self.xmlfile = "imagewizard.xml"
        def __init__(self, session):
                self.xmlfile = "imagewizard.xml"
-               
                Wizard.__init__(self, session, showSteps=False, showStepSlider=False, showList=True, showConfig=True)
                Wizard.__init__(self, session, showSteps=False, showStepSlider=False, showList=True, showConfig=True)
-               
+
        def markDone(self):
                pass
 
        def markDone(self):
                pass
 
-wizardManager.registerWizard(ImageWizard, backupAvailable)
+wizardManager.registerWizard(ImageWizard, backupAvailable, priority = 10)
 
 def doBackup(path):
        os.system('tar cvpf ' + path + backupfile + ' /etc/enigma2')
 
 def doBackup(path):
        os.system('tar cvpf ' + path + backupfile + ' /etc/enigma2')