X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/37b38cb05fc6bc4993f852a78bdba93c7627cf5b..0986cc90975a114e2930d599f94e7145340c3f85:/data/menu.xml diff --git a/data/menu.xml b/data/menu.xml index 369b20e0..403e0b81 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) + + @@ -103,6 +100,7 @@ self.session.openWithCallback(msgClosed, MessageBox, _("When you do a factory re + 2 3