fix ansel detection
svn: r6710
This commit is contained in:
parent
382ae81515
commit
eb510527db
@ -1,4 +1,6 @@
|
|||||||
2006-05-18 Don Allingham <don@gramps-project.org>
|
2006-05-18 Don Allingham <don@gramps-project.org>
|
||||||
|
* src/GrampsDb/_ReadGedcom.py: fix parsing level so that CHAR is not
|
||||||
|
skipped
|
||||||
* src/glade/gramps.glade: fix media ref dialog with warn box
|
* src/glade/gramps.glade: fix media ref dialog with warn box
|
||||||
* src/Filters/_PersonSidebarFilter.py (PersonSidebarFilter.clear):
|
* src/Filters/_PersonSidebarFilter.py (PersonSidebarFilter.clear):
|
||||||
fix clearing of combobox
|
fix clearing of combobox
|
||||||
|
@ -1780,7 +1780,7 @@ class GedcomParser(UpdateCallback):
|
|||||||
elif matches[1] == TOKEN_COPR:
|
elif matches[1] == TOKEN_COPR:
|
||||||
self.def_src.set_publication_info(matches[2])
|
self.def_src.set_publication_info(matches[2])
|
||||||
elif matches[1] == TOKEN_SUBM:
|
elif matches[1] == TOKEN_SUBM:
|
||||||
self.parse_subm(1)
|
self.parse_subm(2)
|
||||||
elif matches[1] in (TOKEN_CORP,TOKEN_DATA,TOKEN_SUBN,TOKEN_LANG):
|
elif matches[1] in (TOKEN_CORP,TOKEN_DATA,TOKEN_SUBN,TOKEN_LANG):
|
||||||
self.ignore_sub_junk(2)
|
self.ignore_sub_junk(2)
|
||||||
elif matches[1] == TOKEN_DEST:
|
elif matches[1] == TOKEN_DEST:
|
||||||
@ -2060,11 +2060,9 @@ class GedcomParser(UpdateCallback):
|
|||||||
self.parse_name(name,2,state)
|
self.parse_name(name,2,state)
|
||||||
|
|
||||||
def func_person_asso(self, matches, state):
|
def func_person_asso(self, matches, state):
|
||||||
print matches
|
|
||||||
gid = matches[2]
|
gid = matches[2]
|
||||||
handle = self.find_person_handle(self.map_gid(gid[1:-1]))
|
handle = self.find_person_handle(self.map_gid(gid[1:-1]))
|
||||||
ref = RelLib.PersonRef()
|
ref = RelLib.PersonRef()
|
||||||
print handle
|
|
||||||
ref.ref = handle
|
ref.ref = handle
|
||||||
|
|
||||||
self.person.add_person_ref(ref)
|
self.person.add_person_ref(ref)
|
||||||
|
Loading…
Reference in New Issue
Block a user