rename of files
svn: r6048
This commit is contained in:
parent
7286845b75
commit
85ae7f6786
@ -21,7 +21,7 @@
|
|||||||
# $Id$
|
# $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.
|
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.
|
Displays a dialog that allows the user to edit an attribute.
|
||||||
"""
|
"""
|
||||||
|
@ -866,11 +866,11 @@ class AttrEmbedList(EmbeddedList):
|
|||||||
return ((1,0),(1,1))
|
return ((1,0),(1,1))
|
||||||
|
|
||||||
def add_button_clicked(self,obj):
|
def add_button_clicked(self,obj):
|
||||||
import AttrEdit
|
import EditAttribute
|
||||||
pname = ''
|
pname = ''
|
||||||
attr_list = []
|
attr_list = []
|
||||||
try:
|
try:
|
||||||
AttrEdit.AttributeEditor(
|
EditAttribute.EditAttribute(
|
||||||
self.dbstate, self.uistate, self.track, None,
|
self.dbstate, self.uistate, self.track, None,
|
||||||
pname, attr_list, self.add_callback)
|
pname, attr_list, self.add_callback)
|
||||||
except Errors.WindowActiveError:
|
except Errors.WindowActiveError:
|
||||||
@ -884,11 +884,11 @@ class AttrEmbedList(EmbeddedList):
|
|||||||
def edit_button_clicked(self,obj):
|
def edit_button_clicked(self,obj):
|
||||||
attr = self.get_selected()
|
attr = self.get_selected()
|
||||||
if attr:
|
if attr:
|
||||||
import AttrEdit
|
import EditAttribute
|
||||||
pname = ''
|
pname = ''
|
||||||
attr_list = []
|
attr_list = []
|
||||||
try:
|
try:
|
||||||
AttrEdit.AttributeEditor(
|
EditAttribute.EditAttribute(
|
||||||
self.dbstate, self.uistate, self.track, attr,
|
self.dbstate, self.uistate, self.track, attr,
|
||||||
pname, attr_list, self.edit_callback)
|
pname, attr_list, self.edit_callback)
|
||||||
except Errors.WindowActiveError:
|
except Errors.WindowActiveError:
|
||||||
@ -1033,11 +1033,11 @@ class AddrEmbedList(EmbeddedList):
|
|||||||
return ((1,0),(1,1),(1,2),(1,3),(1,4))
|
return ((1,0),(1,1),(1,2),(1,3),(1,4))
|
||||||
|
|
||||||
def add_button_clicked(self,obj):
|
def add_button_clicked(self,obj):
|
||||||
import AddrEdit
|
import EditAddr
|
||||||
addr = RelLib.Address()
|
addr = RelLib.Address()
|
||||||
try:
|
try:
|
||||||
AddrEdit.AddressEditor(self.dbstate, self.uistate, self.track,
|
EditAddr.EditAddress(self.dbstate, self.uistate, self.track,
|
||||||
addr, self.add_callback)
|
addr, self.add_callback)
|
||||||
except Errors.WindowActiveError:
|
except Errors.WindowActiveError:
|
||||||
pass
|
pass
|
||||||
|
|
||||||
@ -1048,10 +1048,10 @@ class AddrEmbedList(EmbeddedList):
|
|||||||
def edit_button_clicked(self,obj):
|
def edit_button_clicked(self,obj):
|
||||||
addr = self.get_selected()
|
addr = self.get_selected()
|
||||||
if addr:
|
if addr:
|
||||||
import AddrEdit
|
import EditAddr
|
||||||
try:
|
try:
|
||||||
AddrEdit.AddressEditor(self.dbstate, self.uistate, self.track,
|
EditAddr.EditAddress(self.dbstate, self.uistate, self.track,
|
||||||
addr, self.edit_callback)
|
addr, self.edit_callback)
|
||||||
except Errors.WindowActiveError:
|
except Errors.WindowActiveError:
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
@ -21,7 +21,7 @@
|
|||||||
# $Id$
|
# $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.
|
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.
|
Displays a dialog that allows the user to edit an address.
|
||||||
"""
|
"""
|
Loading…
Reference in New Issue
Block a user