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,6 +972,12 @@ class RelationshipView(PageView.PersonNavView):
|
|||||||
vbox = gtk.VBox()
|
vbox = gtk.VBox()
|
||||||
frame = gtk.Frame()
|
frame = gtk.Frame()
|
||||||
frame.set_shadow_type(gtk.SHADOW_ETCHED_IN)
|
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)
|
frame.add(vbox)
|
||||||
original_vbox.add(frame)
|
original_vbox.add(frame)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user