module rename

svn: r6063
This commit is contained in:
Don Allingham 2006-03-04 04:26:08 +00:00
parent 0608ece604
commit b6f95b2edf
4 changed files with 10 additions and 8 deletions

View File

@ -1,4 +1,6 @@
2006-03-03 Don Allingham <don@gramps-project.org>
* 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

View File

@ -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

View File

@ -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):