* src/gramps_main.py (Gramps.redraw_histmenu): use GRAMPS

id instead of internal ID for history menu


svn: r3703
This commit is contained in:
Don Allingham 2004-11-03 04:27:12 +00:00
parent 184924796c
commit a50cf96de5
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2004-11-02 Don Allingham <dallingham@users.sourceforge.net>
* src/gramps_main.py (Gramps.redraw_histmenu): use GRAMPS
id instead of internal ID for history menu
2004-10-31 Don Allingham <dallingham@users.sourceforge.net>
* src/gramps_main.py: fixed home person button

View File

@ -549,7 +549,8 @@ class Gramps:
haveit.append(pid)
person = self.db.get_person_from_handle(pid)
item = gtk.MenuItem("_%d. %s [%s]" %
(num,person.get_primary_name().get_name(),pid))
(num,person.get_primary_name().get_name(),
person.get_gramps_id()))
item.connect("activate",self.bookmark_callback,person.get_handle())
item.show()
gomenu.append(item)