X-Git-Url: http://code.vuplus.com/gitweb/?p=vuplus_dvbapp;a=blobdiff_plain;f=lib%2Fpython%2FScreens%2FDefaultWizard.py;h=fd2e54f6eb16ee8d3fb533a526c15fd9fe1b785e;hp=73b07acf5b07c72caa136fee76e2068ffd297c7d;hb=b72c9852440926ac82fd4ca3186278edd7167427;hpb=e68a1617b7c1efbedf8b28309943dd7669daaad0 diff --git a/lib/python/Screens/DefaultWizard.py b/lib/python/Screens/DefaultWizard.py old mode 100644 new mode 100755 index 73b07ac..fd2e54f --- a/lib/python/Screens/DefaultWizard.py +++ b/lib/python/Screens/DefaultWizard.py @@ -25,9 +25,10 @@ class DefaultWizard(WizardLanguage, DreamInfoHandler): self["arrowup2"] = MovingPixmap() def setDirectory(self): - os_system("mount %s %s" % (resolveFilename(SCOPE_DEFAULTPARTITION), resolveFilename(SCOPE_DEFAULTPARTITIONMOUNTDIR))) self.directory = resolveFilename(SCOPE_DEFAULTPARTITIONMOUNTDIR) self.xmlfile = "defaultwizard.xml" + if self.directory: + os_system("mount %s %s" % (resolveFilename(SCOPE_DEFAULTPARTITION), self.directory)) def markDone(self): config.misc.defaultchosen.value = 0 @@ -37,7 +38,7 @@ class DefaultWizard(WizardLanguage, DreamInfoHandler): def statusCallback(self, status, progress): print "statusCallback:", status, progress if status == DreamInfoHandler.STATUS_DONE: - self["text"].setText(_("The installation of the default settings is finished. You can now continue configuring your Dreambox by pressing the OK button on the remote control.")) + self["text"].setText(_("The installation of the default settings is finished. You can now continue configuring your STB by pressing the OK button on the remote control.")) self.markDone() self.disableKeys = False @@ -103,12 +104,12 @@ def filescan(**kwargs): ScanPath(path = "dmpkg", with_subdirs = True), ScanPath(path = "", with_subdirs = False), ], - name = "Dream-Package", + name = "STB-Package", description = _("Install settings, skins, software..."), openfnc = filescan_open, ) print "add dreampackage scanner plugin" -plugins.addPlugin(PluginDescriptor(name="Dream-Package", where = PluginDescriptor.WHERE_FILESCAN, fnc = filescan, internal = True)) +plugins.addPlugin(PluginDescriptor(name="STB-Package", where = PluginDescriptor.WHERE_FILESCAN, fnc = filescan, internal = True)) print "added" wizardManager.registerWizard(DefaultWizard, config.misc.defaultchosen.value, priority = 6)