2007-06-21 Alex Roitman <shura@gramps-project.org>

* src/GrampsCfg.py (cb_format_changed): Catch new exception;
	escape special chars from displayed span.
	* src/NameDisplay.py (_gen_cooked_func): Only replace known
	parameters, leave the rest as is;
	(_format_str_base): Catch formatting exceptions and raise our own.
	* src/Errors.py (NameDisplayError): Add class. 



svn: r8620
This commit is contained in:
Alex Roitman
2007-06-22 03:55:09 +00:00
parent 79257df532
commit e63bc9936d
4 changed files with 33 additions and 8 deletions

View File

@@ -1,3 +1,11 @@
2007-06-21 Alex Roitman <shura@gramps-project.org>
* src/GrampsCfg.py (cb_format_changed): Catch new exception;
escape special chars from displayed span.
* src/NameDisplay.py (_gen_cooked_func): Only replace known
parameters, leave the rest as is;
(_format_str_base): Catch formatting exceptions and raise our own.
* src/Errors.py (NameDisplayError): Add class.
2007-06-22 Zsolt Foldvari <zfoldvar@users.sourceforge.net>
* src/NameDisplay.py: fix indentation (use only spaces).
* src/GrampsCfg.py: handle invalid name format: #1025.