2007-12-15 Douglas S. Blank <dblank@cs.brynmawr.edu>

* src/DataViews/_RelationView.py: Made suggestion by Stian:
	http://www.gramps-project.org/wiki/index.php?title=GEPS_002:_RelationView_Expand_and_Collapse#User_Contributions
	and addressed feature request #1404



svn: r9508
This commit is contained in:
Doug Blank 2007-12-15 15:16:33 +00:00
parent 00511a133f
commit 19deae4720
2 changed files with 13 additions and 3 deletions

View File

@ -1,3 +1,8 @@
2007-12-15 Douglas S. Blank <dblank@cs.brynmawr.edu>
* src/DataViews/_RelationView.py: Made suggestion by Stian:
http://www.gramps-project.org/wiki/index.php?title=GEPS_002:_RelationView_Expand_and_Collapse#User_Contributions
and addressed feature request #1404
2007-12-14 Benny Malengier <benny.malengier@gramps-project.org>
* src/Editors/_EditEvent.py: first attribute tab THEN backref
* src/DisplayTabs/_BackRefList.py: whitespace change

View File

@ -926,8 +926,13 @@ class RelationshipView(PageView.PersonNavView):
button = None
hbox = gtk.HBox()
hbox.pack_start(GrampsWidgets.BasicLabel("%d." % index),
False, False, 0)
if child_should_be_linked:
l = GrampsWidgets.BasicLabel("%d." % index)
else:
l = GrampsWidgets.BasicLabel("> %d." % index)
l.set_width_chars(5)
l.set_alignment(1.0, 0.5)
hbox.pack_start(l, False, False, 0)
hbox.pack_start(GrampsWidgets.LinkBox(link_label, button),
False, False, 4)
hbox.show()
@ -937,7 +942,7 @@ class RelationshipView(PageView.PersonNavView):
value = self.info_string(handle)
if value:
l = GrampsWidgets.MarkupLabel(value)
l.set_padding(16, 0)
l.set_padding(48, 0)
vbox.add(l)
def write_data(self, box, title, start_col=_SDATA_START,