* src/Date.py: Added "set_year" function
* src/Utils.py: qualifiy Date calls, eliminate string module usage * src/edit_sm.png: new image * src/Makefile.am: install edit_sm.png * src/gramps_main.py: update relationship calculator on database change * src/Ancestors.py: initialize born_info svn: r3687
This commit is contained in:
@@ -317,6 +317,11 @@ class Date:
|
||||
"""
|
||||
return self._get_low_item(_POS_YR)
|
||||
|
||||
def set_year(self,year):
|
||||
"""
|
||||
"""
|
||||
self.dateval = self.dateval[0:2] + (year,) + self.dateval[3:]
|
||||
|
||||
def get_year_valid(self):
|
||||
return self._get_low_item_valid(_POS_YR)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user