X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/389ae07e59aaf1b8e504801cd49409072f7d3b6b..47367fb1c159557cb3676f67172b9839531c8dc9:/data/menu.xml diff --git a/data/menu.xml b/data/menu.xml index 7f0df144..88ca4e6f 100644 --- a/data/menu.xml +++ b/data/menu.xml @@ -1,5 +1,5 @@ - - + + + self.openSetup("network")--> - - + + + self.session.scart.VCRSbChanged(3) - - - + + + + - - + + + - - - + + + + - + - + + --> - - - - - - - + + + + + + + + + + + + + + - - + + + + + + - + + + + + +from Screens.MessageBox import MessageBox +def msgClosed(ret): + if ret: + from os import system, _exit + system("rm -R /etc/enigma2") + system("cp -R /usr/share/enigma2/defaults /etc/enigma2") + _exit(0) + +self.session.openWithCallback(msgClosed, MessageBox, _("When you do a factory reset, you will lose ALL your configuration data\n" + "(including bouquets, services, satellite data ...)\n" + "After completion of factory reset, your receiver will restart automatically!\n\n" + "Really do a factory reset?"), MessageBox.TYPE_YESNO) + - + + - quitMainloop(2) - quitMainloop(1) + + 2 + 3 + 1