diff options
author | Michael Meeks <michael.meeks@suse.com> | 2011-11-23 17:14:33 +0000 |
---|---|---|
committer | Michael Meeks <michael.meeks@suse.com> | 2011-11-24 11:30:59 +0000 |
commit | 148529c36cd6245c066289da8889aef506fd04bd (patch) | |
tree | 4fe2a2ae24fd38a1b8614270987df0ee2739d49a /scripting/source | |
parent | 1025924f709d927db0785ff8099c68c23fdb9df7 (diff) |
switch python scripting extension to passive registration
Diffstat (limited to 'scripting/source')
-rw-r--r-- | scripting/source/pyprov/components.rdb | 9 | ||||
-rwxr-xr-x | scripting/source/pyprov/manifest.xml | 4 |
2 files changed, 11 insertions, 2 deletions
diff --git a/scripting/source/pyprov/components.rdb b/scripting/source/pyprov/components.rdb new file mode 100644 index 0000000000000..70ee71313d6bc --- /dev/null +++ b/scripting/source/pyprov/components.rdb @@ -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> diff --git a/scripting/source/pyprov/manifest.xml b/scripting/source/pyprov/manifest.xml index 7e4e0456ea978..b1d78139f2f74 100755 --- a/scripting/source/pyprov/manifest.xml +++ b/scripting/source/pyprov/manifest.xml @@ -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> |