We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9908434 commit f521298Copy full SHA for f521298
1 file changed
sources/net.sf.j2s.java.org.eclipse.swt/src/org/eclipse/swt/widgets/Decorations.java
@@ -2100,6 +2100,17 @@ public void run() {
2100
}
2101
shellTitle = document.createElement("DIV");
2102
shellTitle.className = "shell-title-text";
2103
+
2104
+ /**
2105
+ * Ubuntu's Firefox has different active caption background color!
2106
+ * @j2sNative
2107
+ * if (window["ubuntu.css.colors.fixed"] == null
2108
+ * && navigator.userAgent.indexOf ("Ubuntu") != -1) {
2109
+ * this.titleBar.style.backgroundColor = "highlight";
2110
+ * this.shellTitle.style.color = "highlighttext";
2111
+ * }
2112
+ */ {}
2113
2114
titleBar.appendChild(shellTitle);
2115
if ((style & SWT.MAX) != 0) {
2116
titleBar.ondblclick = shellMax.onclick;
0 commit comments