diff --git a/gramps2/ChangeLog b/gramps2/ChangeLog index 485abb4a8..cb7bb1a82 100644 --- a/gramps2/ChangeLog +++ b/gramps2/ChangeLog @@ -1,5 +1,7 @@ 2005-06-27 Julio Sanchez * src/po/es.po: Translation fixes + * src/GenericFilter.py: Do not attempt to translate user filters, + fix a problem with filter names that contain non-ASCII characters 2005-06-26 Don Allingham * src/ImageSelect.py: allow the path variable to be editable diff --git a/gramps2/src/GenericFilter.py b/gramps2/src/GenericFilter.py index a7a525ee5..814f10c4b 100644 --- a/gramps2/src/GenericFilter.py +++ b/gramps2/src/GenericFilter.py @@ -2296,14 +2296,14 @@ class GrampsFilterComboBox(gtk.ComboBox): cnt += 1 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 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.store.append(row=[filt.get_name()]) self.map[filt.get_name()] = filt if default != "" and default == filt.get_name(): active = cnt @@ -2324,7 +2324,7 @@ class GrampsFilterComboBox(gtk.ComboBox): active = self.get_active() if active < 0: return None - key = self.store[active][0] + key = unicode(self.store[active][0]) return self.map[key]