[gedit-latex] Rename base/__init__.py as windowcontext and finally remove base dir
- From: Ignacio Casal Quinteiro <icq src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gedit-latex] Rename base/__init__.py as windowcontext and finally remove base dir
- Date: Wed, 5 Oct 2011 11:51:56 +0000 (UTC)
commit 87421a09b2cbf2f358541022ec22d8f148f23060
Author: Ignacio Casal Quinteiro <icq gnome org>
Date: Wed Oct 5 13:51:32 2011 +0200
Rename base/__init__.py as windowcontext and finally remove base dir
configure.ac | 1 -
latex/Makefile.am | 5 +++--
latex/base/Makefile.am | 6 ------
latex/windowactivatable.py | 2 +-
latex/{base/__init__.py => windowcontext.py} | 2 +-
5 files changed, 5 insertions(+), 11 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 4a0f506..5d3685a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -77,7 +77,6 @@ data/org.gnome.gedit.plugins.latex.gschema.xml.in
latex.plugin.desktop.in
latex/gldefs.py
latex/Makefile
-latex/base/Makefile
latex/bibtex/Makefile
latex/latex/Makefile
latex/preferences/Makefile
diff --git a/latex/Makefile.am b/latex/Makefile.am
index eb6e676..5b0cb96 100644
--- a/latex/Makefile.am
+++ b/latex/Makefile.am
@@ -1,4 +1,4 @@
-SUBDIRS = base bibtex latex preferences tools util
+SUBDIRS = bibtex latex preferences tools util
plugindir = $(libdir)/gedit/plugins/latex
@@ -23,7 +23,8 @@ plugin_PYTHON = \
templates.py \
util.py \
views.py \
- windowactivatable.py
+ windowactivatable.py \
+ windowcontext.py
DISTCLEANFILES = \
gldefs.py
diff --git a/latex/windowactivatable.py b/latex/windowactivatable.py
index a0bd09f..374c4ec 100644
--- a/latex/windowactivatable.py
+++ b/latex/windowactivatable.py
@@ -36,7 +36,7 @@ from .file import File
from .panelview import PanelView
from .config import EDITOR_SCOPE_VIEWS, ACTIONS
from .tabdecorator import GeditTabDecorator
-from .base import WindowContext
+from .windowcontext import WindowContext
LOG = logging.getLogger(__name__)
diff --git a/latex/base/__init__.py b/latex/windowcontext.py
similarity index 99%
rename from latex/base/__init__.py
rename to latex/windowcontext.py
index 11f7fe7..a065bc0 100644
--- a/latex/base/__init__.py
+++ b/latex/windowcontext.py
@@ -28,7 +28,7 @@ import logging
from gi.repository import GObject, Gtk, Gdk
-from ..file import File
+from .file import File
LOG = logging.getLogger(__name__)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]