Clean up correct display of shade in relationview with new frame based
indication of active person svn: r11186
This commit is contained in:
parent
624f9f9747
commit
27872d7e82
@ -972,7 +972,13 @@ class RelationshipView(PageView.PersonNavView):
|
||||
vbox = gtk.VBox()
|
||||
frame = gtk.Frame()
|
||||
frame.set_shadow_type(gtk.SHADOW_ETCHED_IN)
|
||||
frame.add(vbox)
|
||||
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)
|
||||
|
||||
parent = has_children(self.dbstate.db,
|
||||
|
Loading…
Reference in New Issue
Block a user