Bug 283457 [CSS][UI] Odd coloring of shutdown dialog
The dialog for confirming workbench closing has odd coloring. It's from this in webby.css: Composite { background-color: rgb(241, 240, 245); } Need to make that expression more specific to the layout of the perspective contents.
bundles/org.eclipse.e4.ui.workbench.renderers.swt/src/org/eclipse/e4/workbench/ui/renderers/swt/StackRenderer.java
protected void internalChildAdded(MPart parentElement, MPart element) {
		
		super.internalChildAdded(parentElement, element);
		MItemPart<?> itemPart = (MItemPart<?>) element;
		CTabFolder ctf = (CTabFolder) parentElement.getWidget();
		int createFlags = 0;
		
		
		CTabItem cti = findItemForPart(parentElement, element);
		if (cti == null) {
			int index = calcIndexFor(element);
			
			
			cti = new ETabItem((ETabFolder) ctf, createFlags, index);
		}
		cti.setData(OWNING_ME, element);
		cti.setText(itemPart.getName());
		cti.setImage(getImage(element));
		cti.setControl((Control) element.getWidget());
		
		hookTabControllerLogic(parentElement, element, cti);
	}
	private int calcIndexFor(final MPart element) {
		int index = 0;
		
		EList<MPart> kids = element.getParent().getChildren();
		for (Iterator iterator = kids.iterator(); iterator.hasNext();) {
			MPart mPart = (MPart) iterator.next();
			if (mPart == element)
				return index;