[gedit-latex] Find resources on $GEDIT_PLUGINS_DATA_DIR/latex.



commit 56184ce03eba6a5d3098525b061ac07db8e24def
Author: Josà Aliste <jaliste src gnome org>
Date:   Mon Jun 27 22:51:59 2011 -0400

    Find resources on $GEDIT_PLUGINS_DATA_DIR/latex.
    
    This is a a workaround as resources.py have to be completely redone.

 latex/base/resources.py |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/latex/base/resources.py b/latex/base/resources.py
index 6de0a04..75ce986 100644
--- a/latex/base/resources.py
+++ b/latex/base/resources.py
@@ -47,8 +47,9 @@ _log = logging.getLogger("resources")
 #
 
 # TODO: switch to gedit.Plugin.get_data_dir()
-
-_PATH_SYSTEM = "/opt/gnome/lib64/gedit/plugins/latex"
+# FIXME: Since we support Gsettings, we need to install the plugin 
+# system wide.
+_PATH_SYSTEM = "/usr/share/gedit/plugins/latex"
 _PATH_USER = expanduser("~/.local/share/gedit/plugins/latex")
 
 # FHS-compliant location for pixmaps



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]