diff options
| author | Stefan Pluecken <stefan.pluecken@multimedia-labs.de> | 2006-03-05 15:50:27 +0000 |
|---|---|---|
| committer | Stefan Pluecken <stefan.pluecken@multimedia-labs.de> | 2006-03-05 15:50:27 +0000 |
| commit | 323ac4a566f7c1ea9006eaf58eae915fac00071b (patch) | |
| tree | 8c658f272df37796d12a4aa848af8e460b7aad53 /lib/python/Plugins/SystemPlugins/SoftwareUpdate | |
| parent | f4e9150aa736c1b7e7465a19da9355c3b8d56c6f (diff) | |
| download | enigma2-323ac4a566f7c1ea9006eaf58eae915fac00071b.tar.gz enigma2-323ac4a566f7c1ea9006eaf58eae915fac00071b.zip | |
adding the image upgrade wizard
can backup settings to hdd, cf, usb or (in the future) a given path
recognizes the backup after flashing the image automatically and asks the user, if it should restore the settings
guides the user through the upgrade process
Diffstat (limited to 'lib/python/Plugins/SystemPlugins/SoftwareUpdate')
| -rw-r--r-- | lib/python/Plugins/SystemPlugins/SoftwareUpdate/Makefile.am | 3 | ||||
| -rw-r--r-- | lib/python/Plugins/SystemPlugins/SoftwareUpdate/plugin.py | 6 |
2 files changed, 7 insertions, 2 deletions
diff --git a/lib/python/Plugins/SystemPlugins/SoftwareUpdate/Makefile.am b/lib/python/Plugins/SystemPlugins/SoftwareUpdate/Makefile.am index 7b26d5f9..9848f3df 100644 --- a/lib/python/Plugins/SystemPlugins/SoftwareUpdate/Makefile.am +++ b/lib/python/Plugins/SystemPlugins/SoftwareUpdate/Makefile.am @@ -3,5 +3,6 @@ installdir = $(LIBDIR)/enigma2/python/Plugins/SystemPlugins/SoftwareUpdate install_PYTHON = \ __init__.py \ plugin.py \ - update.png + update.png + diff --git a/lib/python/Plugins/SystemPlugins/SoftwareUpdate/plugin.py b/lib/python/Plugins/SystemPlugins/SoftwareUpdate/plugin.py index c065c815..00f8e185 100644 --- a/lib/python/Plugins/SystemPlugins/SoftwareUpdate/plugin.py +++ b/lib/python/Plugins/SystemPlugins/SoftwareUpdate/plugin.py @@ -8,6 +8,7 @@ from Components.MenuList import MenuList from Components.Input import Input from Screens.Console import Console from Plugins.Plugin import PluginDescriptor +from Screens.ImageWizard import ImageWizard import os @@ -25,7 +26,8 @@ class UpdatePluginMenu(Screen): list = [] if self.menu == 0: - list.append((_("Upgrade"), "upgrade")) + list.append((_("Image-Upgrade"), "image")) + list.append((_("Online-Upgrade"), "upgrade")) list.append((_("Advanced"), "advanced")) elif self.menu == 1: list.append((_("Choose source"), "source")) @@ -42,6 +44,8 @@ class UpdatePluginMenu(Screen): def go(self): if self.menu == 0: + if (self["menu"].l.getCurrentSelection()[1] == "image"): + self.session.open(ImageWizard) if (self["menu"].l.getCurrentSelection()[1] == "upgrade"): self.session.openWithCallback(self.runUpgrade, MessageBox, _("Do you want to update your Dreambox?\nAfter pressing OK, please wait!")) if (self["menu"].l.getCurrentSelection()[1] == "advanced"): |
