rename of files

svn: r6048
This commit is contained in:
Don Allingham 2006-03-03 00:29:52 +00:00
parent 7286845b75
commit 85ae7f6786
3 changed files with 16 additions and 16 deletions

View File

@ -21,7 +21,7 @@
# $Id$
"""
The AttrEdit module provides the AttributeEditor class. This provides a
The EditAttribute module provides the AttributeEditor class. This provides a
mechanism for the user to edit attribute information.
"""
@ -59,10 +59,10 @@ from GrampsWidgets import *
#-------------------------------------------------------------------------
#
# AttributeEditor class
# EditAttribute class
#
#-------------------------------------------------------------------------
class AttributeEditor(EditSecondary.EditSecondary):
class EditAttribute(EditSecondary.EditSecondary):
"""
Displays a dialog that allows the user to edit an attribute.
"""

View File

@ -866,11 +866,11 @@ class AttrEmbedList(EmbeddedList):
return ((1,0),(1,1))
def add_button_clicked(self,obj):
import AttrEdit
import EditAttribute
pname = ''
attr_list = []
try:
AttrEdit.AttributeEditor(
EditAttribute.EditAttribute(
self.dbstate, self.uistate, self.track, None,
pname, attr_list, self.add_callback)
except Errors.WindowActiveError:
@ -884,11 +884,11 @@ class AttrEmbedList(EmbeddedList):
def edit_button_clicked(self,obj):
attr = self.get_selected()
if attr:
import AttrEdit
import EditAttribute
pname = ''
attr_list = []
try:
AttrEdit.AttributeEditor(
EditAttribute.EditAttribute(
self.dbstate, self.uistate, self.track, attr,
pname, attr_list, self.edit_callback)
except Errors.WindowActiveError:
@ -1033,10 +1033,10 @@ class AddrEmbedList(EmbeddedList):
return ((1,0),(1,1),(1,2),(1,3),(1,4))
def add_button_clicked(self,obj):
import AddrEdit
import EditAddr
addr = RelLib.Address()
try:
AddrEdit.AddressEditor(self.dbstate, self.uistate, self.track,
EditAddr.EditAddress(self.dbstate, self.uistate, self.track,
addr, self.add_callback)
except Errors.WindowActiveError:
pass
@ -1048,9 +1048,9 @@ class AddrEmbedList(EmbeddedList):
def edit_button_clicked(self,obj):
addr = self.get_selected()
if addr:
import AddrEdit
import EditAddr
try:
AddrEdit.AddressEditor(self.dbstate, self.uistate, self.track,
EditAddr.EditAddress(self.dbstate, self.uistate, self.track,
addr, self.edit_callback)
except Errors.WindowActiveError:
pass

View File

@ -21,7 +21,7 @@
# $Id$
"""
The AddrEdit module provides the AddressEditor class. This provides a
The EditAddress module provides the EditAddress class. This provides a
mechanism for the user to edit address information.
"""
@ -52,10 +52,10 @@ from GrampsWidgets import *
#-------------------------------------------------------------------------
#
# AddressEditor class
# EditAddress class
#
#-------------------------------------------------------------------------
class AddressEditor(EditSecondary.EditSecondary):
class EditAddress(EditSecondary.EditSecondary):
"""
Displays a dialog that allows the user to edit an address.
"""