rename of files
svn: r6048
This commit is contained in:
parent
a3de395e16
commit
854885df9a
@ -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.
|
||||
"""
|
||||
|
@ -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,11 +1033,11 @@ 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,
|
||||
addr, self.add_callback)
|
||||
EditAddr.EditAddress(self.dbstate, self.uistate, self.track,
|
||||
addr, self.add_callback)
|
||||
except Errors.WindowActiveError:
|
||||
pass
|
||||
|
||||
@ -1048,10 +1048,10 @@ 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,
|
||||
addr, self.edit_callback)
|
||||
EditAddr.EditAddress(self.dbstate, self.uistate, self.track,
|
||||
addr, self.edit_callback)
|
||||
except Errors.WindowActiveError:
|
||||
pass
|
||||
|
||||
|
@ -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.
|
||||
"""
|
Loading…
Reference in New Issue
Block a user