[gedit-latex] Move base/completion.py to root dir



commit 27d030fd523e7c5350bbeb4a7ac1e2557bbfa8bb
Author: Ignacio Casal Quinteiro <icq gnome org>
Date:   Wed Oct 5 13:02:03 2011 +0200

    Move base/completion.py to root dir

 latex/Makefile.am              |    1 +
 latex/base/Makefile.am         |    1 -
 latex/bibtex/completion.py     |    2 +-
 latex/{base => }/completion.py |    2 +-
 latex/editor.py                |    2 +-
 latex/latex/completion.py      |    2 +-
 6 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/latex/Makefile.am b/latex/Makefile.am
index ce982bf..cbf2d58 100644
--- a/latex/Makefile.am
+++ b/latex/Makefile.am
@@ -4,6 +4,7 @@ plugindir = $(libdir)/gedit/plugins/latex
 
 plugin_PYTHON = \
 	appactivatable.py \
+	completion.py \
 	editor.py \
 	file.py \
 	gldefs.py \
diff --git a/latex/base/Makefile.am b/latex/base/Makefile.am
index ae7c352..f7e375b 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 \
-	completion.py \
 	config.py \
 	__init__.py \
 	tabdecorator.py
diff --git a/latex/bibtex/completion.py b/latex/bibtex/completion.py
index 200d225..2ddc448 100644
--- a/latex/bibtex/completion.py
+++ b/latex/bibtex/completion.py
@@ -29,7 +29,7 @@ from gi.repository import Gdk, GdkPixbuf
 from ..preferences import Preferences
 from ..resources import Resources
 from ..template import Template
-from ..base.completion import ICompletionHandler, Proposal
+from ..completion import ICompletionHandler, Proposal
 from ..issues import MockIssueHandler
 from model import BibTeXModel
 from parser import BibTeXParser
diff --git a/latex/base/completion.py b/latex/completion.py
similarity index 99%
rename from latex/base/completion.py
rename to latex/completion.py
index d70ec5c..5667d0c 100644
--- a/latex/base/completion.py
+++ b/latex/completion.py
@@ -25,7 +25,7 @@ base.completion
 from logging import getLogger
 from gi.repository import GObject, Gtk, Gdk, GdkPixbuf
 
-from ..preferences import Preferences
+from .preferences import Preferences
 
 
 class ICompletionHandler(object):
diff --git a/latex/editor.py b/latex/editor.py
index a0dad4c..8594e5f 100644
--- a/latex/editor.py
+++ b/latex/editor.py
@@ -25,7 +25,7 @@ import uuid
 
 from gi.repository import GObject, Gtk, Gdk
 
-from .base.completion import CompletionDistributor
+from .completion import CompletionDistributor
 from .templates import TemplateDelegate
 from .template import Template
 
diff --git a/latex/latex/completion.py b/latex/latex/completion.py
index fc1b072..e221f17 100644
--- a/latex/latex/completion.py
+++ b/latex/latex/completion.py
@@ -29,7 +29,7 @@ from gi.repository import Gdk, GdkPixbuf
 
 from ..resources import Resources
 from ..template import Template
-from ..base.completion import ICompletionHandler, Proposal
+from ..completion import ICompletionHandler, Proposal
 
 
 class LaTeXCommandProposal(Proposal):



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