Community
Participate
Working Groups
As of GTK3.16, calls to gtk_widget_override_color are not guaranteed to work. I have a patch in the works that converts set/get foreground methods to use CSS for GTK3.16 and greater. This is the proper GTK way as CSS theming is the direction the GTK team is taking. For more info see: https://developer.gnome.org/gtk3/stable/GtkWidget.html#gtk-widget-override-color
New Gerrit change created: https://git.eclipse.org/r/61701
Moving to M7 as this patch is *almost* done, just needs a few finishing touches. Not going to push this big a change right before M6.
Gerrit change https://git.eclipse.org/r/61701 was merged to [master]. Commit: http://git.eclipse.org/c/platform/eclipse.platform.swt.git/commit/?id=429cd4e4ecbd8dbfaed902ac7f054c2adda254fe
(In reply to Eclipse Genie from comment #3) > Gerrit change https://git.eclipse.org/r/61701 was merged to [master]. > Commit: > http://git.eclipse.org/c/platform/eclipse.platform.swt.git/commit/ > ?id=429cd4e4ecbd8dbfaed902ac7f054c2adda254fe Patch is in master now. Foregrounds and backgrounds are 100% GTK CSS compatible now for GTK3.16+.
*** Bug 470165 has been marked as a duplicate of this bug. ***
Verified code on Ubuntu Mate 16.04 with I20160426-1615
New Gerrit change created: https://git.eclipse.org/r/100157
Gerrit change https://git.eclipse.org/r/100157 was merged to [master]. Commit: http://git.eclipse.org/c/platform/eclipse.platform.swt.git/commit/?id=a1c0d04e0979e30a3b0fd5ac1090fbc42c7a72ac
(In reply to Eclipse Genie from comment #8) > Gerrit change https://git.eclipse.org/r/100157 was merged to [master]. > Commit: > http://git.eclipse.org/c/platform/eclipse.platform.swt.git/commit/ > ?id=a1c0d04e0979e30a3b0fd5ac1090fbc42c7a72ac Updated the regex used to parse the GTK CSS for foreground colors. Now works with rgba corner cases instead of just rgb.