X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/e68c41e73e309fd57a9a467e6102f3583a523ce8..aece969ad2b26fb6827f6c8d53622a67522f46b4:/data/menu.xml diff --git a/data/menu.xml b/data/menu.xml old mode 100644 new mode 100755 index 6bf5e3f2..c7fb8897 --- a/data/menu.xml +++ b/data/menu.xml @@ -35,7 +35,7 @@ --> - + @@ -46,7 +46,7 @@ --> - + @@ -54,17 +54,17 @@ - + - + - - + + - + from Screens.DefaultWizard import DefaultWizard self.session.open(DefaultWizard, silent = False) - - -from Screens.MessageBox import MessageBox + + +from Screens.FactoryReset import FactoryReset 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) - +self.session.openWithCallback(msgClosed, FactoryReset) + +