diff --git a/gramps2/ChangeLog b/gramps2/ChangeLog index ecbee79ab..b89bef072 100644 --- a/gramps2/ChangeLog +++ b/gramps2/ChangeLog @@ -1,3 +1,6 @@ +2005-04-06 Richard Taylor + * src/plugins/FilterEditor.py: Added source IDs into the source combobox. + 2005-04-06 Richard Taylor * src/GenericFilter.py: Added HasSourceOf rule * src/plugins/FilterEditor.py: Added MySource combobox for selecting source IDs. diff --git a/gramps2/src/plugins/FilterEditor.py b/gramps2/src/plugins/FilterEditor.py index ca901652b..9cca8b25e 100644 --- a/gramps2/src/plugins/FilterEditor.py +++ b/gramps2/src/plugins/FilterEditor.py @@ -153,7 +153,7 @@ class MySource(gtk.ComboBox): for src_handle in self.db.get_source_handles(sort_handles=True): src = self.db.get_source_from_handle(src_handle) self.slist.append(src.get_gramps_id()) - store.append(row=[src.get_title()]) + store.append(row=["%s [%s]" % (src.get_title(),src.get_gramps_id())]) self.set_active(0) self.show()