Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Williams2015-12-02 09:29:36 -0500
committerAlexander Kurtakov2015-12-18 07:58:43 -0500
commit9227d728eba1d0a4ac6bdb3c2c1622885187e116 (patch)
tree90db7bd2f2533c87cd1b7f3dd4d5a76be9c3be68 /bundles/org.eclipse.swt/Eclipse SWT AWT/emulated/org/eclipse
parent040fd9d514ac61b48864fec8900fd39b5b1a66ab (diff)
downloadeclipse.platform.swt-9227d728eba1d0a4ac6bdb3c2c1622885187e116.tar.gz
eclipse.platform.swt-9227d728eba1d0a4ac6bdb3c2c1622885187e116.tar.xz
eclipse.platform.swt-9227d728eba1d0a4ac6bdb3c2c1622885187e116.zip
Bug 483096: [GTK3.16+] gtk_widget_override_background_color is
deprecated As of GTK3.16, gtk_widget_override_background_color() is deprecated. The preferred GTK method of setting background colors is through the CSS theme machinery. Unfortunately this also means some calls to gtk_widget_override_background_color() will fail (i.e. bug 479998). This patch aims to prevent cases like that happening in the future. We already apply certain CSS properties to individual widgets in Control, therefore setting background colors isn't problematic -- this patch merely builds off of this functionality. In addition, this patch implements the ability to read and parse GTK CSS, converting properties like "background-color" and "background" into GdkRGBA/GdkColor objects. Note, there are a few widgets that override setBackgroundColor() and therefore need some additional tweaks: Table/Tree, ToolBar, Text, Label, and Spinner. Tested on GTK3.18, 3.16, 3.14, and 2.24. AllNonBrowser JUnit tests pass on GTK2 and GTK3. Change-Id: I8b5287b30b86766ca154b9f8e581eee69cacd5f6 Signed-off-by: Eric Williams <ericwill@redhat.com>
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT AWT/emulated/org/eclipse')
0 files changed, 0 insertions, 0 deletions

Back to the top