* src/Filters/_FilterComboBox.py (set): Force unicode.

svn: r7398
This commit is contained in:
Alex Roitman 2006-10-12 01:25:42 +00:00
parent f645ec1ac2
commit c1fe5ccd7b
2 changed files with 4 additions and 3 deletions

View File

@ -4,6 +4,7 @@
2006-10-11 Alex Roitman <shura@gramps-project.org>
* src/GrampsDisplay.py (help): Rename gramps-manual to gramps.
* src/Filters/_FilterComboBox.py (set): Force unicode.
2006-10-11 Brian Matherly <brian@gramps-project.org>
* src/Mime/_WinMime.py: potential fix for #446

View File

@ -58,21 +58,21 @@ class FilterComboBox(gtk.ComboBox):
cnt = 0
for filt in local_filters:
self.store.append(row=[filt.get_name()])
self.map[filt.get_name()] = filt
self.map[unicode(filt.get_name())] = filt
if default != "" and default == filt.get_name():
active = cnt
cnt += 1
for filt in SystemFilters.get_filters():
self.store.append(row=[filt.get_name()])
self.map[filt.get_name()] = filt
self.map[unicode(filt.get_name())] = filt
if default != "" and default == filt.get_name():
active = cnt
cnt += 1
for filt in CustomFilters.get_filters():
self.store.append(row=[filt.get_name()])
self.map[filt.get_name()] = filt
self.map[unicode(filt.get_name())] = filt
if default != "" and default == filt.get_name():
active = cnt
cnt += 1