aboutsummaryrefslogtreecommitdiff
path: root/lib/python/Plugins/SystemPlugins/CommonInterfaceAssignment/plugin.py
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/CommonInterfaceAssignment/plugin.py
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/CommonInterfaceAssignment/plugin.py')
-rwxr-xr-xlib/python/Plugins/SystemPlugins/CommonInterfaceAssignment/plugin.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/python/Plugins/SystemPlugins/CommonInterfaceAssignment/plugin.py b/lib/python/Plugins/SystemPlugins/CommonInterfaceAssignment/plugin.py
index 52296c66..b3454283 100755
--- a/lib/python/Plugins/SystemPlugins/CommonInterfaceAssignment/plugin.py
+++ b/lib/python/Plugins/SystemPlugins/CommonInterfaceAssignment/plugin.py
@@ -636,10 +636,10 @@ def menu(menuid, **kwargs):
def Plugins(**kwargs):
if config.usage.setup_level.index > 1:
- return [PluginDescriptor( where = PluginDescriptor.WHERE_SESSIONSTART, fnc = sessionstart ),
- PluginDescriptor( where = PluginDescriptor.WHERE_AUTOSTART, fnc = autostart ),
- PluginDescriptor( name = "CommonInterfaceAssignment", description = _("a gui to assign services/providers/caids to common interface modules"), where = PluginDescriptor.WHERE_MENU, fnc = menu )]
+ return [PluginDescriptor( where = PluginDescriptor.WHERE_SESSIONSTART, needsRestart = False, fnc = sessionstart ),
+ PluginDescriptor( where = PluginDescriptor.WHERE_AUTOSTART, needsRestart = False, fnc = autostart ),
+ PluginDescriptor( name = "CommonInterfaceAssignment", description = _("a gui to assign services/providers/caids to common interface modules"), where = PluginDescriptor.WHERE_MENU, needsRestart = False, fnc = menu )]
else:
- return [PluginDescriptor( where = PluginDescriptor.WHERE_SESSIONSTART, fnc = sessionstart ),
- PluginDescriptor( where = PluginDescriptor.WHERE_AUTOSTART, fnc = autostart ),
- PluginDescriptor( name = "CommonInterfaceAssignment", description = _("a gui to assign services/providers to common interface modules"), where = PluginDescriptor.WHERE_MENU, fnc = menu )]
+ return [PluginDescriptor( where = PluginDescriptor.WHERE_SESSIONSTART, needsRestart = False, fnc = sessionstart ),
+ PluginDescriptor( where = PluginDescriptor.WHERE_AUTOSTART, needsRestart = False, fnc = autostart ),
+ PluginDescriptor( name = "CommonInterfaceAssignment", description = _("a gui to assign services/providers to common interface modules"), where = PluginDescriptor.WHERE_MENU, needsRestart = False, fnc = menu )]