Kaydet (Commit) 148529c3 authored tarafından Michael Meeks's avatar Michael Meeks

switch python scripting extension to passive registration

üst 1025924f
......@@ -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:
<?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>
......@@ -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>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment