Update
svn: r4094
This commit is contained in:
parent
6f290afb24
commit
363c1c1941
@ -1680,7 +1680,7 @@ class EditPerson:
|
|||||||
self.event_src_field.set_text('')
|
self.event_src_field.set_text('')
|
||||||
self.event_conf_field.set_text('')
|
self.event_conf_field.set_text('')
|
||||||
if not self.db.readonly:
|
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)
|
self.event_edit_btn.set_sensitive(1)
|
||||||
else:
|
else:
|
||||||
self.event_date_field.set_text('')
|
self.event_date_field.set_text('')
|
||||||
|
@ -1248,7 +1248,7 @@ class Family(PrimaryObject,SourceNote):
|
|||||||
@returns: L{Person} database handle
|
@returns: L{Person} database handle
|
||||||
@rtype: str
|
@rtype: str
|
||||||
"""
|
"""
|
||||||
return self.father_handle
|
return self.father_handle
|
||||||
|
|
||||||
def set_mother_handle(self,person_handle):
|
def set_mother_handle(self,person_handle):
|
||||||
"""
|
"""
|
||||||
@ -1269,7 +1269,7 @@ class Family(PrimaryObject,SourceNote):
|
|||||||
@returns: L{Person} database handle
|
@returns: L{Person} database handle
|
||||||
@rtype: str
|
@rtype: str
|
||||||
"""
|
"""
|
||||||
return self.mother_handle
|
return self.mother_handle
|
||||||
|
|
||||||
def add_child_handle(self,person_handle):
|
def add_child_handle(self,person_handle):
|
||||||
"""
|
"""
|
||||||
@ -1705,7 +1705,7 @@ class Event(PrimaryObject,DataObj):
|
|||||||
"""
|
"""
|
||||||
if not self.date:
|
if not self.date:
|
||||||
self.date = Date.Date()
|
self.date = Date.Date()
|
||||||
return self.date
|
return self.date
|
||||||
|
|
||||||
def set_date_object(self,date):
|
def set_date_object(self,date):
|
||||||
"""
|
"""
|
||||||
@ -1934,7 +1934,7 @@ class MediaObject(PrimaryObject,SourceNote):
|
|||||||
"""returns the Date object associated with the Event"""
|
"""returns the Date object associated with the Event"""
|
||||||
if not self.date:
|
if not self.date:
|
||||||
self.date = Date.Date()
|
self.date = Date.Date()
|
||||||
return self.date
|
return self.date
|
||||||
|
|
||||||
def set_date(self, date) :
|
def set_date(self, date) :
|
||||||
"""attempts to sets the date of the Event instance"""
|
"""attempts to sets the date of the Event instance"""
|
||||||
@ -2159,7 +2159,7 @@ class LdsOrd(SourceNote):
|
|||||||
"""returns the Date object associated with the ordinance"""
|
"""returns the Date object associated with the ordinance"""
|
||||||
if not self.date:
|
if not self.date:
|
||||||
self.date = Date.Date()
|
self.date = Date.Date()
|
||||||
return self.date
|
return self.date
|
||||||
|
|
||||||
def set_date_object(self,date):
|
def set_date_object(self,date):
|
||||||
"""sets the Date object associated with the ordinance"""
|
"""sets the Date object associated with the ordinance"""
|
||||||
|
Loading…
x
Reference in New Issue
Block a user