From c1fe5ccd7b8782eeb2080ade102586f2c5e5c561 Mon Sep 17 00:00:00 2001 From: Alex Roitman Date: Thu, 12 Oct 2006 01:25:42 +0000 Subject: [PATCH] * src/Filters/_FilterComboBox.py (set): Force unicode. svn: r7398 --- gramps2/ChangeLog | 1 + gramps2/src/Filters/_FilterComboBox.py | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/gramps2/ChangeLog b/gramps2/ChangeLog index d4c80d5f7..1f23b7d1b 100644 --- a/gramps2/ChangeLog +++ b/gramps2/ChangeLog @@ -4,6 +4,7 @@ 2006-10-11 Alex Roitman * src/GrampsDisplay.py (help): Rename gramps-manual to gramps. + * src/Filters/_FilterComboBox.py (set): Force unicode. 2006-10-11 Brian Matherly * src/Mime/_WinMime.py: potential fix for #446 diff --git a/gramps2/src/Filters/_FilterComboBox.py b/gramps2/src/Filters/_FilterComboBox.py index d27f2ea13..872ddfd73 100644 --- a/gramps2/src/Filters/_FilterComboBox.py +++ b/gramps2/src/Filters/_FilterComboBox.py @@ -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