* src/WriteXML.py: always write the default location for a place
* src/EditPerson.py: don't for write of multimedia objects if not edited * src/ImageSelect.py: don't for write of multimedia objects if not edited * src/AutoComp.py: build ListStore for ComboBox and Entry * src/AddSpouse.py: use ComboBox * src/Marriage.py: use ComboBox * src/gramps.glade: Switch from gtk.Combo to gtk.ComboBox and gtk.ComboxEntry * src/EventEdit.py: handle autocompletion * src/RelLib.py: remove cPickle import * src/GrampsDbBase.py: fix has_handle functions svn: r3325
This commit is contained in:
@ -488,10 +488,10 @@ class GrampsDbBase:
|
||||
return person.get_handle()
|
||||
|
||||
def has_person_handle(self,val):
|
||||
return self.person_map.get(val)
|
||||
return self.person_map.has_key(str(val))
|
||||
|
||||
def has_family_handle(self,val):
|
||||
return self.family_map.get(str(val))
|
||||
return self.family_map.has_key(str(val))
|
||||
|
||||
def try_to_find_person_from_handle(self,val):
|
||||
"""finds a Person in the database from the passed gramps' ID.
|
||||
@ -1123,7 +1123,6 @@ class GrampsDbBase:
|
||||
class Transaction:
|
||||
|
||||
def __init__(self,msg,db):
|
||||
print db
|
||||
self.db = db
|
||||
self.first = None
|
||||
self.last = None
|
||||
|
Reference in New Issue
Block a user