From b56bcb6768ce0fdb7124e02d2fd6a531b4068505 Mon Sep 17 00:00:00 2001 From: Stefan Pluecken Date: Tue, 8 Aug 2006 19:00:43 +0000 Subject: plugins can appear in the extensions menu now use PluginDescriptor.WHERE_EXTENSIONSMENU and the same parameters as for standard plugins (see the file manager plugin for an example) --- lib/python/Plugins/Extensions/FileManager/plugin.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib/python/Plugins/Extensions/FileManager/plugin.py') diff --git a/lib/python/Plugins/Extensions/FileManager/plugin.py b/lib/python/Plugins/Extensions/FileManager/plugin.py index 11f75a2b..d2b19719 100644 --- a/lib/python/Plugins/Extensions/FileManager/plugin.py +++ b/lib/python/Plugins/Extensions/FileManager/plugin.py @@ -66,4 +66,5 @@ def main(session, **kwargs): session.open(FileManager) def Plugins(**kwargs): - return PluginDescriptor(name="File-Manager", description="Let's you view/edit files in your Dreambox", where = PluginDescriptor.WHERE_PLUGINMENU, fnc=main) + return [PluginDescriptor(name="File-Manager", description="Let's you view/edit files in your Dreambox", where = PluginDescriptor.WHERE_PLUGINMENU, fnc=main), + PluginDescriptor(name="File-Manager", description="Let's you view/edit files in your Dreambox", where = PluginDescriptor.WHERE_EXTENSIONSMENU, fnc=main)] -- cgit v1.2.3