[gedit-latex] Move base/action.py to root dir
- From: Ignacio Casal Quinteiro <icq src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gedit-latex] Move base/action.py to root dir
- Date: Wed, 5 Oct 2011 11:47:13 +0000 (UTC)
commit 8f00f2713ac64afd17bda2555c1a402c8fac47a7
Author: Ignacio Casal Quinteiro <icq gnome org>
Date: Wed Oct 5 13:47:00 2011 +0200
Move base/action.py to root dir
latex/Makefile.am | 1 +
latex/{base => }/action.py | 4 ++--
latex/base/Makefile.am | 1 -
latex/bibtex/actions.py | 2 +-
latex/latex/actions.py | 2 +-
latex/tools/__init__.py | 2 +-
6 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/latex/Makefile.am b/latex/Makefile.am
index d680a72..eb6e676 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 = \
+ action.py \
appactivatable.py \
completion.py \
config.py \
diff --git a/latex/base/action.py b/latex/action.py
similarity index 98%
rename from latex/base/action.py
rename to latex/action.py
index c95c4ba..25113df 100644
--- a/latex/base/action.py
+++ b/latex/action.py
@@ -21,8 +21,8 @@
from uuid import uuid1
from gi.repository import Gtk, GdkPixbuf
-from ..file import File
-from ..resources import Resources
+from .file import File
+from .resources import Resources
class GeditLaTeXPlugin_MenuToolAction(Gtk.Action):
__gtype_name__ = "GeditLaTeXPlugin_MenuToolAction"
diff --git a/latex/base/Makefile.am b/latex/base/Makefile.am
index fdd9e77..e05986c 100644
--- a/latex/base/Makefile.am
+++ b/latex/base/Makefile.am
@@ -1,7 +1,6 @@
plugindir = $(libdir)/gedit/plugins/latex/base
plugin_PYTHON = \
- action.py \
__init__.py
-include $(top_srcdir)/git.mk
diff --git a/latex/bibtex/actions.py b/latex/bibtex/actions.py
index e1e0557..5377252 100644
--- a/latex/bibtex/actions.py
+++ b/latex/bibtex/actions.py
@@ -25,7 +25,7 @@ latex.actions
from logging import getLogger
from gi.repository import Gtk
-from ..base.action import Action
+from ..action import Action
from dialogs import InsertBibTeXEntryDialog
diff --git a/latex/latex/actions.py b/latex/latex/actions.py
index 55fb8e5..6dacc6d 100644
--- a/latex/latex/actions.py
+++ b/latex/latex/actions.py
@@ -26,7 +26,7 @@ from gi.repository import Gtk
from logging import getLogger
from ..template import Template
-from ..base.action import Action, IconAction
+from ..action import Action, IconAction
from ..preferences import Preferences
from ..issues import MockIssueHandler
from ..tools import ToolRunner
diff --git a/latex/tools/__init__.py b/latex/tools/__init__.py
index 47ea481..6c483c3 100644
--- a/latex/tools/__init__.py
+++ b/latex/tools/__init__.py
@@ -30,7 +30,7 @@ import logging
from gi.repository import Gtk, Gedit
from ..resources import Resources
-from ..base.action import Action
+from ..action import Action
LOG = logging.getLogger(__name__)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]