More
svn: r2935
This commit is contained in:
parent
06cc477ae8
commit
b3f1f5ab0f
@ -920,22 +920,6 @@ class GrampsImportParser(GrampsParser):
|
|||||||
def __init__(self,database,callback,base):
|
def __init__(self,database,callback,base):
|
||||||
GrampsParser.__init__(self,database,callback,base)
|
GrampsParser.__init__(self,database,callback,base)
|
||||||
|
|
||||||
# self.func_map["bookmark"] = (self.start_bmark, None)
|
|
||||||
# self.func_map["child"] = (self.start_child,None)
|
|
||||||
# self.func_map["family"] = (self.start_family, None)
|
|
||||||
# self.func_map["father"] = (self.start_father, None)
|
|
||||||
# self.func_map["mother"] = (self.start_mother,None)
|
|
||||||
# self.func_map["people"] = (self.start_people, None)
|
|
||||||
# self.func_map["person"] = (self.start_person, self.stop_person)
|
|
||||||
# self.func_map["objref"] = (self.start_objref, self.stop_objref)
|
|
||||||
# self.func_map["object"] = (self.start_object, self.stop_object)
|
|
||||||
# self.func_map["place"] = (self.start_place, self.stop_place)
|
|
||||||
# self.func_map["placeobj"] = (self.start_placeobj,self.stop_placeobj)
|
|
||||||
# self.func_map["source"] = (self.start_source, self.stop_source)
|
|
||||||
# self.func_map["sourceref"]= (self.start_sourceref, self.stop_sourceref)
|
|
||||||
# self.func_map["childof"] = (self.start_childof,None)
|
|
||||||
# self.func_map["parentin"] = (self.start_parentin,None)
|
|
||||||
|
|
||||||
def start_childof(self,attrs):
|
def start_childof(self,attrs):
|
||||||
family = self.db.find_family_no_conflicts(attrs["ref"],self.fmap)
|
family = self.db.find_family_no_conflicts(attrs["ref"],self.fmap)
|
||||||
if attrs.has_key("mrel"):
|
if attrs.has_key("mrel"):
|
||||||
@ -1086,4 +1070,3 @@ def build_place_title(loc):
|
|||||||
if country:
|
if country:
|
||||||
value = append_value(value,country)
|
value = append_value(value,country)
|
||||||
return value
|
return value
|
||||||
|
|
||||||
|
@ -369,7 +369,8 @@ class PedigreeView:
|
|||||||
self.load_canvas(childlist[0])
|
self.load_canvas(childlist[0])
|
||||||
elif len(childlist) > 1:
|
elif len(childlist) > 1:
|
||||||
myMenu = gtk.Menu()
|
myMenu = gtk.Menu()
|
||||||
for child in childlist:
|
for child_id in childlist:
|
||||||
|
child = self.parent.db.find_person_from_id(child_id)
|
||||||
cname = GrampsCfg.nameof(child)
|
cname = GrampsCfg.nameof(child)
|
||||||
menuitem = gtk.MenuItem(None)
|
menuitem = gtk.MenuItem(None)
|
||||||
if find_children(child):
|
if find_children(child):
|
||||||
|
Loading…
Reference in New Issue
Block a user