From 165b6919d2a921ffe6456dc99085d688862b2a76 Mon Sep 17 00:00:00 2001 From: Don Allingham Date: Sun, 30 Nov 2003 06:19:00 +0000 Subject: [PATCH] * src/PedView.py (PedigreeView.find_children): used italics instead of '*' to indicate children in popup menu svn: r2407 --- gramps2/src/PedView.py | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/gramps2/src/PedView.py b/gramps2/src/PedView.py index 3b8f923cd..130ebe67e 100644 --- a/gramps2/src/PedView.py +++ b/gramps2/src/PedView.py @@ -312,9 +312,15 @@ class PedigreeView: myMenu = gtk.Menu() for child in childlist: cname = GrampsCfg.nameof(child) - if len(find_children(child)) > 0: - cname = cname + " *" - menuitem = gtk.MenuItem(cname) + menuitem = gtk.MenuItem(None) + if find_children(child): + label = gtk.Label('%s' % cname) + else: + label = gtk.Label(cname) + label.set_use_markup(gtk.TRUE) + label.show() + label.set_justify(gtk.JUSTIFY_LEFT) + menuitem.add(label) myMenu.append(menuitem) menuitem.set_data(_PERSON,child) menuitem.connect("activate",self.on_childmenu_changed)