* src/Filters/_FilterComboBox.py (set): Force unicode.
svn: r7398
This commit is contained in:
parent
11b833f719
commit
59a00f52f8
@ -4,6 +4,7 @@
|
|||||||
|
|
||||||
2006-10-11 Alex Roitman <shura@gramps-project.org>
|
2006-10-11 Alex Roitman <shura@gramps-project.org>
|
||||||
* src/GrampsDisplay.py (help): Rename gramps-manual to gramps.
|
* 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>
|
2006-10-11 Brian Matherly <brian@gramps-project.org>
|
||||||
* src/Mime/_WinMime.py: potential fix for #446
|
* src/Mime/_WinMime.py: potential fix for #446
|
||||||
|
@ -58,21 +58,21 @@ class FilterComboBox(gtk.ComboBox):
|
|||||||
cnt = 0
|
cnt = 0
|
||||||
for filt in local_filters:
|
for filt in local_filters:
|
||||||
self.store.append(row=[filt.get_name()])
|
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():
|
if default != "" and default == filt.get_name():
|
||||||
active = cnt
|
active = cnt
|
||||||
cnt += 1
|
cnt += 1
|
||||||
|
|
||||||
for filt in SystemFilters.get_filters():
|
for filt in SystemFilters.get_filters():
|
||||||
self.store.append(row=[filt.get_name()])
|
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():
|
if default != "" and default == filt.get_name():
|
||||||
active = cnt
|
active = cnt
|
||||||
cnt += 1
|
cnt += 1
|
||||||
|
|
||||||
for filt in CustomFilters.get_filters():
|
for filt in CustomFilters.get_filters():
|
||||||
self.store.append(row=[filt.get_name()])
|
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():
|
if default != "" and default == filt.get_name():
|
||||||
active = cnt
|
active = cnt
|
||||||
cnt += 1
|
cnt += 1
|
||||||
|
Loading…
Reference in New Issue
Block a user