svn: r4094
This commit is contained in:
Alex Roitman 2005-02-25 17:07:26 +00:00
parent 4c2ea76b9f
commit 1d0989afbc
2 changed files with 6 additions and 6 deletions

View File

@ -1680,7 +1680,7 @@ class EditPerson:
self.event_src_field.set_text('')
self.event_conf_field.set_text('')
if not self.db.readonly:
self.event_delete_btn.set_sensitive(1)
self.event_delete_btn.set_sensitive(1)
self.event_edit_btn.set_sensitive(1)
else:
self.event_date_field.set_text('')

View File

@ -1248,7 +1248,7 @@ class Family(PrimaryObject,SourceNote):
@returns: L{Person} database handle
@rtype: str
"""
return self.father_handle
return self.father_handle
def set_mother_handle(self,person_handle):
"""
@ -1269,7 +1269,7 @@ class Family(PrimaryObject,SourceNote):
@returns: L{Person} database handle
@rtype: str
"""
return self.mother_handle
return self.mother_handle
def add_child_handle(self,person_handle):
"""
@ -1705,7 +1705,7 @@ class Event(PrimaryObject,DataObj):
"""
if not self.date:
self.date = Date.Date()
return self.date
return self.date
def set_date_object(self,date):
"""
@ -1934,7 +1934,7 @@ class MediaObject(PrimaryObject,SourceNote):
"""returns the Date object associated with the Event"""
if not self.date:
self.date = Date.Date()
return self.date
return self.date
def set_date(self, date) :
"""attempts to sets the date of the Event instance"""
@ -2159,7 +2159,7 @@ class LdsOrd(SourceNote):
"""returns the Date object associated with the ordinance"""
if not self.date:
self.date = Date.Date()
return self.date
return self.date
def set_date_object(self,date):
"""sets the Date object associated with the ordinance"""