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> 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/images/Makefile.am: restore
* src/plugins/Makefile.am: remove stock_link.png from dependency list * src/plugins/Makefile.am: remove stock_link.png from dependency list

View File

@ -978,10 +978,10 @@ class NameEmbedList(EmbeddedList):
return ((1,0),(1,1)) return ((1,0),(1,1))
def add_button_clicked(self,obj): def add_button_clicked(self,obj):
import NameEdit import EditName
name = RelLib.Name() name = RelLib.Name()
try: try:
NameEdit.NameEditor(self.dbstate, self.uistate, self.track, EditName.EditName(self.dbstate, self.uistate, self.track,
name, self.add_callback) name, self.add_callback)
except Errors.WindowActiveError: except Errors.WindowActiveError:
pass pass
@ -993,9 +993,9 @@ class NameEmbedList(EmbeddedList):
def edit_button_clicked(self,obj): def edit_button_clicked(self,obj):
name = self.get_selected() name = self.get_selected()
if name: if name:
import NameEdit import EditName
try: try:
NameEdit.NameEditor(self.dbstate, self.uistate, self.track, EditName.EditName(self.dbstate, self.uistate, self.track,
name, self.edit_callback) name, self.edit_callback)
except Errors.WindowActiveError: except Errors.WindowActiveError:
pass 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): def __init__(self, dbstate, uistate, track, name, callback):