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



commit 73b6749d1c4f24cb3acd7d845acce0e9f4232e66
Author: Ignacio Casal Quinteiro <icq gnome org>
Date:   Wed Oct 5 13:36:32 2011 +0200

    Move base/tabdecorator.py to root dir.

 latex/Makefile.am                |    1 +
 latex/base/Makefile.am           |    3 +--
 latex/{base => }/tabdecorator.py |    4 ++--
 latex/windowactivatable.py       |    2 +-
 4 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/latex/Makefile.am b/latex/Makefile.am
index cbf2d58..0fb5f36 100644
--- a/latex/Makefile.am
+++ b/latex/Makefile.am
@@ -16,6 +16,7 @@ plugin_PYTHON = \
 	resources.py \
 	singleton.py \
 	snippetmanager.py \
+	tabdecorator.py \
 	template.py \
 	templates.py \
 	util.py \
diff --git a/latex/base/Makefile.am b/latex/base/Makefile.am
index f7e375b..c700171 100644
--- a/latex/base/Makefile.am
+++ b/latex/base/Makefile.am
@@ -3,7 +3,6 @@ plugindir = $(libdir)/gedit/plugins/latex/base
 plugin_PYTHON = \
 	action.py \
 	config.py \
-	__init__.py \
-	tabdecorator.py
+	__init__.py
 
 -include $(top_srcdir)/git.mk
diff --git a/latex/base/tabdecorator.py b/latex/tabdecorator.py
similarity index 99%
rename from latex/base/tabdecorator.py
rename to latex/tabdecorator.py
index 77498e0..94a70a6 100644
--- a/latex/base/tabdecorator.py
+++ b/latex/tabdecorator.py
@@ -29,8 +29,8 @@ import logging
 
 from gi.repository import Gedit, Gtk, Gio, GObject
 
-from config import EDITORS
-from ..file import File
+from .base.config import EDITORS
+from .file import File
 
 # TODO: maybe create ActionDelegate for GeditWindowDecorator
 
diff --git a/latex/windowactivatable.py b/latex/windowactivatable.py
index 74784a5..7c344f7 100644
--- a/latex/windowactivatable.py
+++ b/latex/windowactivatable.py
@@ -35,7 +35,7 @@ from .resources import Resources
 from .file import File
 from .panelview import PanelView
 from .base.config import EDITOR_SCOPE_VIEWS, ACTIONS
-from .base.tabdecorator import GeditTabDecorator
+from .tabdecorator import GeditTabDecorator
 from .base import WindowContext
 
 LOG = logging.getLogger(__name__)



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