* src/plugins/PatchNames.py: add the ability to detect

common surname prefixes
* src/plugins/patchnames.glade: clean up description
* src/plugins/TimeLine.py: detect invalid date range in
report to prevent divide by zero error.


svn: r3760
This commit is contained in:
Don Allingham
2004-11-28 05:03:29 +00:00
parent 60a27e0c63
commit fd56ea2ce1
4 changed files with 86 additions and 5 deletions

View File

@@ -157,6 +157,13 @@ class TimeLine:
(low,high) = self.find_year_range()
if low == high:
if self.standalone:
self.d.close()
ErrorDialog(_("Report could not be created"),
_("The range of dates chosen was not valid"))
return
st_size = self.name_size()
font = self.d.style_list['TLG-Name'].get_font()