diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2013-04-29 17:01:07 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2013-04-29 17:01:07 +0200 |
commit | acf0ae3fdec65df75f4983d2b943582f9ab99fa2 (patch) | |
tree | 48073587b6a926a8f163d84d1be44e72237e259b /hu_HU | |
parent | 36a0d3a959604b5c5af4adb17ca10a1d85542846 (diff) |
Fix passiv'ization of Lightproof.py UNO components
...and some light clean up.
Change-Id: I33da2fa452557d9c8c22419fafdc9d221859c320
Diffstat (limited to 'hu_HU')
-rw-r--r-- | hu_HU/Lightproof.components | 18 | ||||
-rw-r--r-- | hu_HU/Lightproof.py | 4 | ||||
-rw-r--r-- | hu_HU/META-INF/manifest.xml | 4 |
3 files changed, 22 insertions, 4 deletions
diff --git a/hu_HU/Lightproof.components b/hu_HU/Lightproof.components new file mode 100644 index 0000000..7af6868 --- /dev/null +++ b/hu_HU/Lightproof.components @@ -0,0 +1,18 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + * This file is part of the LibreOffice project. + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * +--> +<components xmlns="http://openoffice.org/2010/uno-components"> + <component loader="com.sun.star.loader.Python" uri="./Lightproof.py"> + <implementation name="org.libreoffice.comp.pyuno.Lightproof.hu_HU"> + <service name="com.sun.star.linguistic2.Proofreader"/> + </implementation> + <implementation + name="org.libreoffice.comp.pyuno.LightproofOptionsEventHandler.hu_HU"/> + </component> +</components> diff --git a/hu_HU/Lightproof.py b/hu_HU/Lightproof.py index 45368ee..74af535 100644 --- a/hu_HU/Lightproof.py +++ b/hu_HU/Lightproof.py @@ -148,8 +148,8 @@ class Lightproof( unohelper.Base, XProofreader, XServiceInfo, XServiceName, XSer g_ImplementationHelper = unohelper.ImplementationHelper() g_ImplementationHelper.addImplementation( Lightproof, \ "org.libreoffice.comp.pyuno.Lightproof." + pkg, - ("com.sun.star.linguistic2.Proofreader",),) + ("com.sun.star.linguistic2.Proofreader",)) g_ImplementationHelper.addImplementation( lightproof_handler_hu_HU.LightproofOptionsEventHandler, \ "org.libreoffice.comp.pyuno.LightproofOptionsEventHandler." + pkg, - ("com.sun.star.awt.XContainerWindowEventHandler",),) + ()) diff --git a/hu_HU/META-INF/manifest.xml b/hu_HU/META-INF/manifest.xml index a9ff14b..87487ed 100644 --- a/hu_HU/META-INF/manifest.xml +++ b/hu_HU/META-INF/manifest.xml @@ -7,8 +7,8 @@ manifest:media-type="application/vnd.sun.star.configuration-schema" /> <manifest:file-entry manifest:full-path="dialog/OptionsDialog.xcu" manifest:media-type="application/vnd.sun.star.configuration-data" /> - <manifest:file-entry manifest:media-type="application/vnd.sun.star.uno-component;type=Python" - manifest:full-path="Lightproof.py"/> + <manifest:file-entry manifest:media-type="application/vnd.sun.star.uno-components" + manifest:full-path="Lightproof.components"/> <manifest:file-entry manifest:media-type="application/vnd.sun.star.configuration-data" manifest:full-path="Linguistic.xcu" /> |