diff options
| author | acid-burn <acid-burn@opendreambox.org> | 2011-02-07 20:47:31 +0100 |
|---|---|---|
| committer | acid-burn <acid-burn@opendreambox.org> | 2011-02-07 20:47:31 +0100 |
| commit | 65a7c0d34bf86543475e98a781a93aa59013b6ce (patch) | |
| tree | 9dac10269b359b139f49c7fcc89d754026c61b91 /lib/python/Plugins/SystemPlugins/SoftwareManager | |
| parent | 89e103f1ff262950613b761fcb370f8ab7267ee8 (diff) | |
| download | enigma2-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-x | lib/python/Plugins/SystemPlugins/SoftwareManager/plugin.py | 6 |
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 |
