From ca2cafc68ac131148835c32b290c6d5de4bc2948 Mon Sep 17 00:00:00 2001 From: Nick Hall Date: Sat, 15 Mar 2014 17:49:31 +0000 Subject: [PATCH] Adjustments to the citation editor Remove publication information and abbreviation fields. Move tag button. --- gramps/gui/editors/editcitation.py | 6 -- gramps/gui/glade/editcitation.glade | 120 ++++++---------------------- 2 files changed, 24 insertions(+), 102 deletions(-) diff --git a/gramps/gui/editors/editcitation.py b/gramps/gui/editors/editcitation.py index e535e4931..00c11d32f 100644 --- a/gramps/gui/editors/editcitation.py +++ b/gramps/gui/editors/editcitation.py @@ -255,15 +255,9 @@ class EditCitation(EditPrimary): if handle: source = self.db.get_source_from_handle(handle) author = source.get_author() - pub_info = source.get_publication_info() - abbrev = source.get_abbreviation() else: author = '' - pub_info = '' - abbrev = '' self.glade.get_object("author").set_text(author) - self.glade.get_object("pub_info").set_text(pub_info) - self.glade.get_object("abbrev").set_text(abbrev) def build_menu_names(self, source): """ diff --git a/gramps/gui/glade/editcitation.glade b/gramps/gui/glade/editcitation.glade index a30dcfbf7..ff5abe6d8 100644 --- a/gramps/gui/glade/editcitation.glade +++ b/gramps/gui/glade/editcitation.glade @@ -79,7 +79,7 @@ True False 12 - 8 + 6 4 12 6 @@ -89,18 +89,6 @@ - - - - - - - - - - - - True @@ -112,8 +100,8 @@ date_entry - 4 - 5 + 2 + 3 GTK_FILL @@ -148,8 +136,8 @@ 3 4 - 4 - 5 + 2 + 3 GTK_FILL @@ -166,8 +154,8 @@ 1 3 - 5 - 6 + 3 + 4 @@ -182,8 +170,8 @@ volume - 5 - 6 + 3 + 4 GTK_FILL @@ -198,8 +186,8 @@ center - 6 - 7 + 4 + 5 GTK_FILL @@ -216,8 +204,8 @@ 1 3 - 4 - 5 + 2 + 3 @@ -283,8 +271,8 @@ Very High =Direct and primary evidence used, or by dominance of the evidence

1 3 - 6 - 7 + 4 + 5 GTK_FILL @@ -380,8 +368,8 @@ Very High =Direct and primary evidence used, or by dominance of the evidence

3 4 - 5 - 6 + 3 + 4 GTK_FILL @@ -394,8 +382,8 @@ Very High =Direct and primary evidence used, or by dominance of the evidence

Tags:
- 7 - 8 + 5 + 6 GTK_FILL @@ -405,13 +393,12 @@ Very High =Direct and primary evidence used, or by dominance of the evidence

True
False 0 - label 1 - 2 - 7 - 8 + 3 + 5 + 6 GTK_FILL @@ -421,13 +408,12 @@ Very High =Direct and primary evidence used, or by dominance of the evidence

True True True - none 3 4 - 4 - 5 + 5 + 6 GTK_FILL @@ -446,34 +432,6 @@ Very High =Direct and primary evidence used, or by dominance of the evidence

- - - True - False - 1 - Publication Info.: - - - 2 - 3 - GTK_FILL - - - - - - True - False - 1 - Abbreviation: - - - 3 - 4 - GTK_FILL - - - True @@ -489,36 +447,6 @@ Very High =Direct and primary evidence used, or by dominance of the evidence

- - - True - False - 0 - - - 1 - 3 - 2 - 3 - GTK_FILL - - - - - - True - False - 0 - - - 1 - 3 - 3 - 4 - GTK_FILL - - -
False