[gedit-latex] Move appactivatable from base to root



commit 7af59a5267f603064737906093d2025a37828b30
Author: Ignacio Casal Quinteiro <icq gnome org>
Date:   Sun Sep 25 20:18:22 2011 +0200

    Move appactivatable from base to root

 latex/Makefile.am                  |    1 +
 latex/__init__.py                  |    2 +-
 latex/{base => }/appactivatable.py |    2 +-
 latex/base/Makefile.am             |    1 -
 4 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/latex/Makefile.am b/latex/Makefile.am
index cf03d73..8e55933 100644
--- a/latex/Makefile.am
+++ b/latex/Makefile.am
@@ -3,6 +3,7 @@ SUBDIRS = base bibtex latex preferences tools util
 plugindir = $(libdir)/gedit/plugins/latex
 
 plugin_PYTHON = \
+	appactivatable.py \
 	gldefs.py \
 	__init__.py \
 	issues.py \
diff --git a/latex/__init__.py b/latex/__init__.py
index 0577874..c1d0078 100644
--- a/latex/__init__.py
+++ b/latex/__init__.py
@@ -30,7 +30,7 @@ if "org.gnome.gedit.plugins.latex" not in Gio.Settings.list_schemas():
     logging.critical("Could not find GSettings schema: org.gnome.gedit.plugins.latex")
     raise Exception("Plugin schema not installed")
 
-from base.appactivatable import LaTeXAppActivatable
+from appactivatable import LaTeXAppActivatable
 from base.windowactivatable import LaTeXWindowActivatable
 
 
diff --git a/latex/base/appactivatable.py b/latex/appactivatable.py
similarity index 97%
rename from latex/base/appactivatable.py
rename to latex/appactivatable.py
index aae3a5b..2f57071 100644
--- a/latex/base/appactivatable.py
+++ b/latex/appactivatable.py
@@ -20,7 +20,7 @@ import os.path
 import platform
 
 from gi.repository import GLib, Gedit, GObject
-from resources import Resources
+from base.resources import Resources
 
 class LaTeXAppActivatable(GObject.Object, Gedit.AppActivatable):
     __gtype_name__ = "GeditLaTeXAppActivatable"
diff --git a/latex/base/Makefile.am b/latex/base/Makefile.am
index 0261a20..2cf9e41 100644
--- a/latex/base/Makefile.am
+++ b/latex/base/Makefile.am
@@ -2,7 +2,6 @@ plugindir = $(libdir)/gedit/plugins/latex/base
 
 plugin_PYTHON = \
 	action.py \
-	appactivatable.py \
 	completion.py \
 	config.py \
 	decorators.py \



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