From a6773e36127e6ad24a41089a3f3512aa84e08be9 Mon Sep 17 00:00:00 2001 From: Dave Scheipers Date: Fri, 15 May 2020 14:38:55 -0400 Subject: [PATCH] Add Abbreviation column to source and citation selectors Implements #11710 --- gramps/gui/selectors/selectcitation.py | 1 + gramps/gui/selectors/selectsource.py | 1 + 2 files changed, 2 insertions(+) diff --git a/gramps/gui/selectors/selectcitation.py b/gramps/gui/selectors/selectcitation.py index 866c7fbce..13f83d465 100644 --- a/gramps/gui/selectors/selectcitation.py +++ b/gramps/gui/selectors/selectcitation.py @@ -69,6 +69,7 @@ class SelectCitation(BaseSelector): def get_column_titles(self): return [ (_('Source: Title or Citation: Volume/Page'), 350, BaseSelector.TEXT, 0), + (_('Abbreviation'), 100, BaseSelector.TEXT, 8), (_('ID'), 75, BaseSelector.TEXT, 1), (_('Last Change'), 150, BaseSelector.TEXT, 6), ] diff --git a/gramps/gui/selectors/selectsource.py b/gramps/gui/selectors/selectsource.py index 416817ace..1559ffe7f 100644 --- a/gramps/gui/selectors/selectsource.py +++ b/gramps/gui/selectors/selectsource.py @@ -64,6 +64,7 @@ class SelectSource(BaseSelector): def get_column_titles(self): return [ (_('Title'), 350, BaseSelector.TEXT, 0), + (_('Abbreviation'), 100, BaseSelector.TEXT, 3), (_('Author'), 200, BaseSelector.TEXT, 2), (_('ID'), 75, BaseSelector.TEXT, 1), (_('Last Change'), 150, BaseSelector.TEXT, 7),