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 /ru_RU | |
parent | 36a0d3a959604b5c5af4adb17ca10a1d85542846 (diff) |
Fix passiv'ization of Lightproof.py UNO components
...and some light clean up.
Change-Id: I33da2fa452557d9c8c22419fafdc9d221859c320
Diffstat (limited to 'ru_RU')
-rw-r--r-- | ru_RU/Lightproof.components | 18 | ||||
-rw-r--r-- | ru_RU/Lightproof.py | 4 | ||||
-rw-r--r-- | ru_RU/META-INF/manifest.xml | 4 |
3 files changed, 22 insertions, 4 deletions
diff --git a/ru_RU/Lightproof.components b/ru_RU/Lightproof.components new file mode 100644 index 0000000..aafb44e --- /dev/null +++ b/ru_RU/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.ru_RU"> + <service name="com.sun.star.linguistic2.Proofreader"/> + </implementation> + <implementation + name="org.libreoffice.comp.pyuno.LightproofOptionsEventHandler.ru_RU"/> + </component> +</components> diff --git a/ru_RU/Lightproof.py b/ru_RU/Lightproof.py index cb0521e..229b704 100644 --- a/ru_RU/Lightproof.py +++ b/ru_RU/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_ru_RU.LightproofOptionsEventHandler, \ "org.libreoffice.comp.pyuno.LightproofOptionsEventHandler." + pkg, - ("com.sun.star.awt.XContainerWindowEventHandler",),) + ()) diff --git a/ru_RU/META-INF/manifest.xml b/ru_RU/META-INF/manifest.xml index 9a1b9c3..f8d630a 100644 --- a/ru_RU/META-INF/manifest.xml +++ b/ru_RU/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" /> |