* 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:
Don Allingham
2004-08-04 04:53:29 +00:00
parent 732242d0b7
commit 1f7594cfee
13 changed files with 355 additions and 580 deletions

View File

@ -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