From 731d4d80f73b264534b0c361ba4026a8a3e488fd Mon Sep 17 00:00:00 2001 From: Don Allingham Date: Fri, 21 Jul 2006 03:37:12 +0000 Subject: [PATCH] 2006-07-20 Don Allingham * src/GrampsWidgets.py: fix spacing on link label svn: r7053 --- gramps2/ChangeLog | 3 +++ gramps2/src/GrampsWidgets.py | 8 ++++---- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/gramps2/ChangeLog b/gramps2/ChangeLog index 2ddc2118a..5dea763d8 100644 --- a/gramps2/ChangeLog +++ b/gramps2/ChangeLog @@ -1,3 +1,6 @@ +2006-07-20 Don Allingham + * src/GrampsWidgets.py: fix spacing on link label + 2006-07-20 Alex Roitman * src/plugins/GraphViz.py (GraphViz.__init__): Better error handling. * src/plugins/IndivComplete.py: Use NameDisplay. diff --git a/gramps2/src/GrampsWidgets.py b/gramps2/src/GrampsWidgets.py index d5a1cdcd0..60574858f 100644 --- a/gramps2/src/GrampsWidgets.py +++ b/gramps2/src/GrampsWidgets.py @@ -59,9 +59,9 @@ class LinkLabel(gtk.EventBox): self.label.set_alignment(0, 0.5) hbox = gtk.HBox() - hbox.add(self.label) + hbox.pack_start(self.label, False, False, 4) if label[1]: - hbox.add(GenderLabel(label[1])) + hbox.pack_start(GenderLabel(label[1]), False, False, 4) self.add(hbox) self.connect('button-press-event', func, handle) @@ -184,10 +184,10 @@ class DualMarkupLabel(gtk.HBox): label.set_alignment(0, 0.5) label.set_use_markup(True) - self.add(label) + self.pack_start(label, False, False, 0) b = GenderLabel(alt) b.set_use_markup(True) - self.add(b) + self.pack_start(b, False, False, 4) self.show() class IntEdit(gtk.Entry):