From 8c1919104c39660b8fe1287b12c3257d18aeab82 Mon Sep 17 00:00:00 2001 From: Alex Roitman Date: Tue, 2 May 2006 17:32:54 +0000 Subject: [PATCH] * src/AutoComp.py (StandardCustomSelector.fill): Adapt to new types. svn: r6518 --- ChangeLog | 1 + src/AutoComp.py | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 472ff8f59..b93350f92 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,4 +1,5 @@ 2006-05-02 Alex Roitman + * src/AutoComp.py (StandardCustomSelector.fill): Adapt to new types. * src/GrampsDb/_GrampsBSDDB.py (gramps_upgrade_9): Add broken witness note. diff --git a/src/AutoComp.py b/src/AutoComp.py index 93f2a4947..ce7dc84e1 100644 --- a/src/AutoComp.py +++ b/src/AutoComp.py @@ -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