Fixed paper/output settings, problems with images with spaces, understand FTW gedcom

svn: r70
This commit is contained in:
Don Allingham
2001-05-31 13:38:24 +00:00
parent bad452d42d
commit daa11db881
9 changed files with 103 additions and 56 deletions

View File

@@ -699,9 +699,15 @@ def on_add_attr_clicked(obj):
edit_person_obj = obj.get_data(EDITPERSON)
attr = Attribute()
attr.setType(edit_person_obj.attr_type.get_text())
name = edit_person_obj.attr_type.get_text()
attr.setType(name)
attr.setValue(edit_person_obj.attr_value.get_text())
if name not in const.personalAttributes:
const.personalAttributes.append(name)
menu = edit_person_obj.get_widget("attribute")
menu.set_popdown_strings(const.personalAttributes)
edit_person_obj.person.addAttribute(attr)
edit_person_obj.redraw_attr_list()
utils.modified()