[orca/orca-gnome3: 4/87] Added dinamic load for the path to baseplugins
- From: Alejandro Leiva <aleiva src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [orca/orca-gnome3: 4/87] Added dinamic load for the path to baseplugins
- Date: Fri, 1 Apr 2011 11:13:08 +0000 (UTC)
commit 9ad882fdb75bb59bf95a1d9e8d8ae1ff611b3311
Author: José Ignacio �lvarez Ruiz <jialvarez emergya es>
Date: Wed Feb 16 22:40:19 2011 +0100
Added dinamic load for the path to baseplugins
configure.in | 2 ++
src/orca/Makefile.am | 4 ++--
src/orca/plugin_manager.py | 3 ++-
src/orca/pluglib/Makefile.am | 2 +-
4 files changed, 7 insertions(+), 4 deletions(-)
---
diff --git a/configure.in b/configure.in
index e65284b..7c8dd93 100644
--- a/configure.in
+++ b/configure.in
@@ -139,6 +139,8 @@ src/orca/scripts/toolkits/J2SE-access-bridge/Makefile
src/orca/scripts/toolkits/CALLY/Makefile
src/orca/scripts/toolkits/WebKitGtk/Makefile
src/orca/backends/Makefile
+src/orca/pluglib/Makefile
+src/orca/baseplugins/Makefile
src/orca/orca
src/orca/orca_i18n.py
src/orca/orca_platform.py
diff --git a/src/orca/Makefile.am b/src/orca/Makefile.am
index 2bdad0e..193682d 100644
--- a/src/orca/Makefile.am
+++ b/src/orca/Makefile.am
@@ -81,8 +81,8 @@ orca_pythondir=$(pyexecdir)/orca
SUBDIRS = \
scripts \
backends \
- pluglib \
- baseplugins
+ pluglib \
+ baseplugins
ui_DATA = \
orca-advanced-magnification.ui \
diff --git a/src/orca/plugin_manager.py b/src/orca/plugin_manager.py
index c22e3f2..794c595 100644
--- a/src/orca/plugin_manager.py
+++ b/src/orca/plugin_manager.py
@@ -6,7 +6,8 @@ from pluglib.manager import ModulePluginManager
from pluglib.confstore import GConfStore
from pluglib.interfaces import PluginManagerError
-PLUGINS_DIR = ['/usr/local/lib/python2.7/dist-packages/orca/baseplugins']
+dirname, filename = os.path.split(os.path.abspath(__file__))
+PLUGINS_DIR = [os.path.join(dirname, 'baseplugins')]
GCONF_DIR = '/apps/popoter/applet/plugins'
class SignalManager(gobject.GObject):
diff --git a/src/orca/pluglib/Makefile.am b/src/orca/pluglib/Makefile.am
index 134b8e5..3c467e6 100644
--- a/src/orca/pluglib/Makefile.am
+++ b/src/orca/pluglib/Makefile.am
@@ -4,7 +4,7 @@ orca_python_PYTHON = \
__init__.py \
confstore.py \
interfaces.py \
- manager.py
+ manager.py
orca_pythondir=$(pyexecdir)/orca/pluglib
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]