X-Git-Url: http://code.vuplus.com/gitweb/?p=vuplus_dvbapp;a=blobdiff_plain;f=data%2Fmenu.xml;h=7dc764acf996c349a76b270cd3468922516cfd6d;hp=977a209249d16a4e5ac587bf49080d7f0a308f17;hb=b37fb8b50e48795882cd933c8ef9fe31b3ef007d;hpb=829ad562bb09e7e396320cd902263ec8b73f89dd diff --git a/data/menu.xml b/data/menu.xml index 977a209..7dc764a 100644 --- a/data/menu.xml +++ b/data/menu.xml @@ -1,4 +1,4 @@ - + @@ -53,7 +54,7 @@ - + @@ -62,16 +63,39 @@ - - + + + + - + + + +from Screens.DefaultWizard import DefaultWizard +self.session.open(DefaultWizard, silent = False) + + + + +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) + @@ -79,6 +103,7 @@ + 2 3