diff options
author | Silenio Quarti <silenio_quarti@ca.ibm.com> | 2013-04-03 10:03:18 -0400 |
---|---|---|
committer | Silenio Quarti <silenio_quarti@ca.ibm.com> | 2013-04-03 10:03:18 -0400 |
commit | 4050c833656a0fc5cbbf9b90229349498d472ae9 (patch) | |
tree | 509a970926f02f3b5725bcfc52dc3090548e6f2e /bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Display.java | |
parent | c9d9fc61ba38cacc58b95ff3eb2d7cf7d3e0e126 (diff) | |
download | eclipse.platform.swt-4050c833656a0fc5cbbf9b90229349498d472ae9.tar.gz eclipse.platform.swt-4050c833656a0fc5cbbf9b90229349498d472ae9.tar.xz eclipse.platform.swt-4050c833656a0fc5cbbf9b90229349498d472ae9.zip |
Bug 398748 - [GTK3] Text in Javadoc hover unreadable on Ubuntu 12.04
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Display.java')
-rw-r--r-- | bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Display.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Display.java b/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Display.java index f41ab74207..810e919914 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Display.java +++ b/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Display.java @@ -2329,6 +2329,7 @@ void initializeSystemColors () { if (OS.GTK3) { long /*int*/ context = OS.gtk_widget_get_style_context (tooltipShellHandle); OS.gtk_style_context_add_class (context, OS.GTK_STYLE_CLASS_TOOLTIP); + OS.gtk_style_context_invalidate(context); GdkRGBA rgba = new GdkRGBA(); OS.gtk_style_context_get_color (context, OS.GTK_STATE_FLAG_NORMAL, rgba); COLOR_INFO_FOREGROUND = toGdkColor (rgba); @@ -2352,6 +2353,7 @@ void initializeSystemColors () { OS.gtk_style_context_save (context); OS.gtk_style_context_add_class(context, OS.GTK_STYLE_CLASS_VIEW); OS.gtk_style_context_add_class(context, OS.GTK_STYLE_CLASS_CELL); + OS.gtk_style_context_invalidate(context); OS.gtk_style_context_get_color (context, OS.GTK_STATE_FLAG_NORMAL, rgba); COLOR_LIST_FOREGROUND = toGdkColor (rgba); OS.gtk_style_context_get_background_color (context, OS.GTK_STATE_FLAG_NORMAL, rgba); |