2005-04-06 Richard Taylor <rjt-gramps@thegrindstone.me.uk>

* src/plugins/FilterEditor.py: Added source IDs into the source combobox.


svn: r4311
This commit is contained in:
Richard Taylor 2005-04-06 15:25:16 +00:00
parent 96660c6a49
commit 3db2253458
2 changed files with 4 additions and 1 deletions

View File

@ -1,3 +1,6 @@
2005-04-06 Richard Taylor <rjt-gramps@thegrindstone.me.uk>
* src/plugins/FilterEditor.py: Added source IDs into the source combobox.
2005-04-06 Richard Taylor <rjt-gramps@thegrindstone.me.uk> 2005-04-06 Richard Taylor <rjt-gramps@thegrindstone.me.uk>
* src/GenericFilter.py: Added HasSourceOf rule * src/GenericFilter.py: Added HasSourceOf rule
* src/plugins/FilterEditor.py: Added MySource combobox for selecting source IDs. * src/plugins/FilterEditor.py: Added MySource combobox for selecting source IDs.

View File

@ -153,7 +153,7 @@ class MySource(gtk.ComboBox):
for src_handle in self.db.get_source_handles(sort_handles=True): for src_handle in self.db.get_source_handles(sort_handles=True):
src = self.db.get_source_from_handle(src_handle) src = self.db.get_source_from_handle(src_handle)
self.slist.append(src.get_gramps_id()) 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.set_active(0)
self.show() self.show()