Clean up correct display of shade in relationview with new frame based

indication of active person


svn: r11186
This commit is contained in:
Benny Malengier 2008-10-22 09:51:37 +00:00
parent 624f9f9747
commit 27872d7e82

View File

@ -972,6 +972,12 @@ class RelationshipView(PageView.PersonNavView):
vbox = gtk.VBox()
frame = gtk.Frame()
frame.set_shadow_type(gtk.SHADOW_ETCHED_IN)
if self.use_shade:
ev = gtk.EventBox()
ev.modify_bg(gtk.STATE_NORMAL, self.color)
ev.add(vbox)
frame.add(ev)
else:
frame.add(vbox)
original_vbox.add(frame)