Bug 317180 Screen cheese when starting fresh workspace
bundles/org.eclipse.e4.ui.workbench.renderers.swt/src/org/eclipse/e4/ui/workbench/renderers/swt/CTabRendering.java
if (inactiveToolbar == null || inactivePercents == null)
				return;
			int width = 5;
			int height = parent.getTabHeight() + 4;
			int x = 0;
			int y = -4;
			toolbarInactiveImage = new Image(display, 5, 30);
			GC gc = new GC(toolbarInactiveImage);
			Color lastColor = inactiveToolbar[0];
			if (lastColor == null)
				lastColor = parent.getBackground();
			int pos = 0;
			for (int i = 0; i < inactivePercents.length; i++) {
				gc.setForeground(lastColor);
				lastColor = inactiveToolbar[i + 1];
				if (lastColor == null)
					lastColor = parent.getBackground();
				gc.setBackground(lastColor);
				int percentage = i > 0 ? inactivePercents[i]
						- inactivePercents[i - 1] : inactivePercents[i];
				int gradientHeight = percentage * height / 100;
				gc.fillGradientRectangle(x, y + pos, width, gradientHeight,
						true);
				pos += gradientHeight;
			}
			if (pos < height) {
				gc.setBackground(parent.getBackground());
				gc.fillRectangle(x, pos, width, height - pos + 1);
			}