aboutsummaryrefslogtreecommitdiff
path: root/lib/python/Plugins/SystemPlugins/SoftwareManager
diff options
context:
space:
mode:
authoracid-burn <acid-burn@opendreambox.org>2011-02-07 20:47:31 +0100
committeracid-burn <acid-burn@opendreambox.org>2011-02-07 20:47:31 +0100
commit65a7c0d34bf86543475e98a781a93aa59013b6ce (patch)
tree9dac10269b359b139f49c7fcc89d754026c61b91 /lib/python/Plugins/SystemPlugins/SoftwareManager
parent89e103f1ff262950613b761fcb370f8ab7267ee8 (diff)
downloadenigma2-65a7c0d34bf86543475e98a781a93aa59013b6ce.tar.gz
enigma2-65a7c0d34bf86543475e98a781a93aa59013b6ce.zip
Enigma2-Plugins: implement needsRestart=False for plugins that don't need a enigma2 restart after installation.
refs #670
Diffstat (limited to 'lib/python/Plugins/SystemPlugins/SoftwareManager')
-rwxr-xr-xlib/python/Plugins/SystemPlugins/SoftwareManager/plugin.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/python/Plugins/SystemPlugins/SoftwareManager/plugin.py b/lib/python/Plugins/SystemPlugins/SoftwareManager/plugin.py
index 4ee9b498..b3a0a17a 100755
--- a/lib/python/Plugins/SystemPlugins/SoftwareManager/plugin.py
+++ b/lib/python/Plugins/SystemPlugins/SoftwareManager/plugin.py
@@ -2033,9 +2033,9 @@ def Plugins(path, **kwargs):
global plugin_path
plugin_path = path
list = [
- PluginDescriptor(name=_("Software management"), description=_("Manage your receiver's software"), where = PluginDescriptor.WHERE_MENU, fnc=startSetup),
- PluginDescriptor(name=_("Ipkg"), where = PluginDescriptor.WHERE_FILESCAN, fnc = filescan)
+ PluginDescriptor(name=_("Software management"), description=_("Manage your receiver's software"), where = PluginDescriptor.WHERE_MENU, needsRestart = False, fnc=startSetup),
+ PluginDescriptor(name=_("Ipkg"), where = PluginDescriptor.WHERE_FILESCAN, needsRestart = False, fnc = filescan)
]
if config.usage.setup_level.index >= 2: # expert+
- list.append(PluginDescriptor(name=_("Software management"), description=_("Manage your receiver's software"), where = PluginDescriptor.WHERE_EXTENSIONSMENU, fnc=UpgradeMain))
+ list.append(PluginDescriptor(name=_("Software management"), description=_("Manage your receiver's software"), where = PluginDescriptor.WHERE_EXTENSIONSMENU, needsRestart = False, fnc=UpgradeMain))
return list