From fa21027a2333743b751b4d9ccd7a983b0f450634 Mon Sep 17 00:00:00 2001 From: Doug Blank Date: Sun, 15 Nov 2009 22:43:44 +0000 Subject: [PATCH] Changed the displayed text of an object in the simple table to gramps_id rather than name of item svn: r13593 --- src/Simple/_SimpleTable.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/Simple/_SimpleTable.py b/src/Simple/_SimpleTable.py index 63a892ea9..64bb64d24 100644 --- a/src/Simple/_SimpleTable.py +++ b/src/Simple/_SimpleTable.py @@ -222,7 +222,7 @@ class SimpleTable(object): if (self.__link_col == col or link is None): link = ('Family', item.handle) elif isinstance(item, gen.lib.Source): - retval.append(_('Source')) + retval.append(item.gramps_id) if (self.__link_col == col or link is None): link = ('Source', item.handle) elif isinstance(item, gen.lib.Event): @@ -231,19 +231,19 @@ class SimpleTable(object): if (self.__link_col == col or link is None): link = ('Event', item.handle) elif isinstance(item, gen.lib.MediaObject): - retval.append(_('Media')) + retval.append(item.gramps_id) if (self.__link_col == col or link is None): link = ('Media', item.handle) elif isinstance(item, gen.lib.Place): - retval.append(_('Place')) + retval.append(item.gramps_id) if (self.__link_col == col or link is None): link = ('Place', item.handle) elif isinstance(item, gen.lib.Repository): - retval.append(_('Repository')) + retval.append(item.gramps_id) if (self.__link_col == col or link is None): link = ('Repository', item.handle) elif isinstance(item, gen.lib.Note): - retval.append(_('Note')) + retval.append(item.gramps_id) if (self.__link_col == col or link is None): link = ('Note', item.handle) elif isinstance(item, gen.lib.Date):