switch python scripting extension to passive registration

This commit is contained in:
Michael Meeks
2011-11-23 17:14:33 +00:00
parent 1025924f70
commit 148529c36c
3 changed files with 13 additions and 2 deletions

View File

@@ -30,5 +30,7 @@ $(eval $(call gb_Extension_Extension,script-provider-for-python,scripting/source
$(eval $(call gb_Extension_add_file,script-provider-for-python,pythonscript.py,\
$(SRCDIR)/scripting/source/pyprov/pythonscript.py))
$(eval $(call gb_Extension_add_file,script-provider-for-python,components.rdb,\
$(SRCDIR)/scripting/source/pyprov/components.rdb))
# vim: set noet sw=4 ts=4:

View File

@@ -0,0 +1,9 @@
<?xml version="1.0"?>
<components xmlns="http://openoffice.org/2010/uno-components">
<component loader="com.sun.star.loader.Python" uri="./pythonscript.py">
<implementation name="org.openoffice.pyuno.LanguageScriptProviderForPython">
<service name="com.sun.star.script.provider.ScriptProviderForPython"/>
<service name="com.sun.star.script.provider.LanguageScriptProvider"/>
</implementation>
</component>
</components>

View File

@@ -2,6 +2,6 @@
<!DOCTYPE manifest:manifest PUBLIC "-//OpenOffice.org//DTD Manifest 1.0//EN" "Manifest.dtd">
<manifest:manifest xmlns:manifest="http://openoffice.org/2001/manifest">
<manifest:file-entry
manifest:media-type="application/vnd.sun.star.uno-component;type=python"
manifest:full-path="pythonscript.py"/>
manifest:media-type="application/vnd.sun.star.uno-components"
manifest:full-path="components.rdb"/>
</manifest:manifest>