* src/PedView.py (DispBox.__init__): Conditional display of "b."

and "d." strings depending on the availability of the appropriate date.
* NEWS: Start new section for 0.9.3 release.


svn: r1754
This commit is contained in:
Alex Roitman 2003-06-16 17:22:09 +00:00
parent 91d97c122d
commit cf3947e551
3 changed files with 27 additions and 3 deletions

View File

@ -6,6 +6,9 @@
* src/plugins/FtmStyleAncestors.py, src/plugins/FtmStyleDescendants.py: * src/plugins/FtmStyleAncestors.py, src/plugins/FtmStyleDescendants.py:
Remove options_dialog function as it is not nedded anymore. Remove options_dialog function as it is not nedded anymore.
* src/plugins/BookReport.py: Add lots of doc strings. * src/plugins/BookReport.py: Add lots of doc strings.
* src/PedView.py (DispBox.__init__): Conditional display of "b."
and "d." strings depending on the availability of the appropriate date.
* NEWS: Start new section for 0.9.3 release.
2003-06-14 Don Allingham <dallingham@users.sourceforge.net> 2003-06-14 Don Allingham <dallingham@users.sourceforge.net>
* src/gramps.glade: added select/edit buttions to family view * src/gramps.glade: added select/edit buttions to family view

View File

@ -1,3 +1,16 @@
Version 0.9.3
* New reports: Ancestors (text), Fan Chart (graphics), and
Book (collection of any number of any reports in a single document).
* Improved autocompletion for long strings.
* I18n improvements.
* Proper handling of superscripts in all text reports.
* Version control improvements.
* Drag-n-drop improvements.
* Improved Family View.
* Fixed duplicate people problem.
* Imporved sharing of a single database between the users.
* Many dozens of bug fixes.
Version 0.9.2 Version 0.9.2
* Fixed pedigree view problem that prevented display from updating * Fixed pedigree view problem that prevented display from updating
* Fixed duplicate place problem. * Fixed duplicate place problem.

View File

@ -58,9 +58,17 @@ class DispBox:
self.root = root self.root = root
self.name = GrampsCfg.nameof(person) self.name = GrampsCfg.nameof(person)
self.exp = "%s\n%s %s\n%s %s" % (self.name, bd = person.getBirth().getDate()
_BORN,person.getBirth().getDate(), dd = person.getDeath().getDate()
_DIED, person.getDeath().getDate()) if bd and dd:
self.exp = "%s\n%s %s\n%s %s" % (self.name,_BORN,bd,_DIED,dd )
elif bd:
self.exp = "%s\n%s %s" % (self.name,_BORN,bd )
elif dd:
self.exp = "%s\n%s %s" % (self.name,_DIED,dd )
else:
self.exp = "%s" % self.name
self.group = self.root.add(gnome.canvas.CanvasGroup,x=x,y=y) self.group = self.root.add(gnome.canvas.CanvasGroup,x=x,y=y)
self.shadow = self.group.add(gnome.canvas.CanvasRect, self.shadow = self.group.add(gnome.canvas.CanvasRect,