* 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:
@ -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 = "@"
|
||||
|
||||
|
Reference in New Issue
Block a user