aboutsummaryrefslogtreecommitdiff
path: root/lib/python
diff options
context:
space:
mode:
Diffstat (limited to 'lib/python')
-rw-r--r--lib/python/Screens/FactoryReset.py9
-rwxr-xr-xlib/python/Screens/Makefile.am2
2 files changed, 10 insertions, 1 deletions
diff --git a/lib/python/Screens/FactoryReset.py b/lib/python/Screens/FactoryReset.py
new file mode 100644
index 00000000..ce5aaeb3
--- /dev/null
+++ b/lib/python/Screens/FactoryReset.py
@@ -0,0 +1,9 @@
+from Screens.MessageBox import MessageBox
+
+class FactoryReset(MessageBox):
+ def __init__(self, session):
+ MessageBox.__init__(self, session, _("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.skinName = "MessageBox" \ No newline at end of file
diff --git a/lib/python/Screens/Makefile.am b/lib/python/Screens/Makefile.am
index 00204a94..ca67f73d 100755
--- a/lib/python/Screens/Makefile.am
+++ b/lib/python/Screens/Makefile.am
@@ -14,5 +14,5 @@ install_PYTHON = \
SubtitleDisplay.py SubservicesQuickzap.py ParentalControlSetup.py NumericalTextInputHelpDialog.py \
SleepTimerEdit.py Ipkg.py RdsDisplay.py Globals.py DefaultWizard.py \
SessionGlobals.py LocationBox.py WizardLanguage.py TaskView.py Rc.py VirtualKeyBoard.py \
- TextBox.py
+ TextBox.py FactoryReset.py