* src/AutoComp.py (StandardCustomSelector.fill): Adapt to new types.

svn: r6518
This commit is contained in:
Alex Roitman 2006-05-02 17:32:54 +00:00
parent 968b2dc4ba
commit 3e4ec76b0a
2 changed files with 3 additions and 2 deletions

View File

@ -1,4 +1,5 @@
2006-05-02 Alex Roitman <shura@gramps-project.org>
* src/AutoComp.py (StandardCustomSelector.fill): Adapt to new types.
* src/GrampsDb/_GrampsBSDDB.py (gramps_upgrade_9): Add broken
witness note.

View File

@ -1,7 +1,7 @@
#
# Gramps - a GTK+/GNOME based genealogy program
#
# Copyright (C) 2002-2005 Donald N. Allingham
# Copyright (C) 2002-2006 Donald N. Allingham
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@ -180,7 +180,7 @@ class StandardCustomSelector:
elif type(event_type) == tuple:
self.store.append(row=[event_type[0], event_type[1]])
else:
self.store.append(row=[int(event_type), str(event_type[1])])
self.store.append(row=[int(event_type), str(event_type)])
if key == self.active_key:
self.active_index = index
index = index + 1