* src/RelImage.py: remove PIL

* src/Imgmanip.py: remove PIL
* src/MediaView.py: remove PIL
* src/accent.py: support of unaccenting characters for comparison,
and sorting
* src/RelLib.py: build sort name using unaccented version
* src/PeopleView.py: get bold working again
* src/PeopleModel.py: sort using unaccented characters


svn: r3428
This commit is contained in:
Don Allingham
2004-08-18 03:55:55 +00:00
parent f41204f7c3
commit bed73e4f7b
8 changed files with 51 additions and 118 deletions

View File

@ -34,6 +34,7 @@ from re import compile
import os
import os.path
import types
import accent
from gettext import gettext as _
#-------------------------------------------------------------------------
@ -1832,7 +1833,7 @@ class Name(DataObj):
def build_sort_name(self):
if self.surname:
self.sname = "%-25s%-30s%s" % (self.surname.upper(),self.first_name.upper(),self.suffix.upper())
self.sname = accent.deaccent("%-25s%-30s%s" % (self.surname.upper(),self.first_name.upper(),self.suffix.upper()))
else:
self.sname = "@"