From d3f09759a77f56f358b225c13b34d5d742101146 Mon Sep 17 00:00:00 2001 From: Don Allingham Date: Sat, 4 Mar 2006 04:26:08 +0000 Subject: [PATCH] module rename svn: r6063 --- gramps2/ChangeLog | 2 ++ gramps2/src/DisplayTabs.py | 12 ++++++------ gramps2/src/{EventEdit.py => EditEvent.py} | 0 gramps2/src/EditName.py | 4 ++-- 4 files changed, 10 insertions(+), 8 deletions(-) rename gramps2/src/{EventEdit.py => EditEvent.py} (100%) diff --git a/gramps2/ChangeLog b/gramps2/ChangeLog index bffbf115c..9fad1e041 100644 --- a/gramps2/ChangeLog +++ b/gramps2/ChangeLog @@ -1,4 +1,6 @@ 2006-03-03 Don Allingham + * src/EditName.py: renamed from NameEdit.py + * src/EditEvent.py: renamed from EventEdit.py * src/images/Makefile.am: restore * src/plugins/Makefile.am: remove stock_link.png from dependency list diff --git a/gramps2/src/DisplayTabs.py b/gramps2/src/DisplayTabs.py index 4c0297a19..01b1c3d68 100644 --- a/gramps2/src/DisplayTabs.py +++ b/gramps2/src/DisplayTabs.py @@ -978,11 +978,11 @@ class NameEmbedList(EmbeddedList): return ((1,0),(1,1)) def add_button_clicked(self,obj): - import NameEdit + import EditName name = RelLib.Name() try: - NameEdit.NameEditor(self.dbstate, self.uistate, self.track, - name, self.add_callback) + EditName.EditName(self.dbstate, self.uistate, self.track, + name, self.add_callback) except Errors.WindowActiveError: pass @@ -993,10 +993,10 @@ class NameEmbedList(EmbeddedList): def edit_button_clicked(self,obj): name = self.get_selected() if name: - import NameEdit + import EditName try: - NameEdit.NameEditor(self.dbstate, self.uistate, self.track, - name, self.edit_callback) + EditName.EditName(self.dbstate, self.uistate, self.track, + name, self.edit_callback) except Errors.WindowActiveError: pass diff --git a/gramps2/src/EventEdit.py b/gramps2/src/EditEvent.py similarity index 100% rename from gramps2/src/EventEdit.py rename to gramps2/src/EditEvent.py diff --git a/gramps2/src/EditName.py b/gramps2/src/EditName.py index 296c4f122..9cd35ae04 100644 --- a/gramps2/src/EditName.py +++ b/gramps2/src/EditName.py @@ -50,10 +50,10 @@ from GrampsWidgets import * #------------------------------------------------------------------------- # -# NameEditor class +# EditName class # #------------------------------------------------------------------------- -class NameEditor(EditSecondary.EditSecondary): +class EditName(EditSecondary.EditSecondary): def __init__(self, dbstate, uistate, track, name, callback):