X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/6f49c4c722264f8735a92752375619d1025b3b99..3a4d44ac0f28fa87f1d8cde20b5e38dd644d5b37:/data/menu.xml diff --git a/data/menu.xml b/data/menu.xml index 6bf5e3f2..59195f15 100644 --- a/data/menu.xml +++ b/data/menu.xml @@ -35,7 +35,7 @@ --> - + @@ -46,7 +46,7 @@ --> - + @@ -54,48 +54,45 @@ - + - + - + - - + + - + 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) + + @@ -107,6 +104,7 @@ self.session.openWithCallback(msgClosed, MessageBox, _("When you do a factory re 2 3 - 1 + 1 + 1