diff options
author | Ivan Timofeev <timofeev.i.s@gmail.com> | 2012-10-11 15:01:52 +0400 |
---|---|---|
committer | Ivan Timofeev <timofeev.i.s@gmail.com> | 2012-10-12 07:42:56 +0400 |
commit | b19ff316441fb2d1f0537e008ea8b6fdec307224 (patch) | |
tree | 323dc681ab95ac287f18ede19ffd7dc37a4ba409 | |
parent | 1dfc4542377cb427945a9461da6fffa7d3742884 (diff) |
fdo#45651: gtk: fix text color with dark themes
Change-Id: I959b7791151fd345c250016ae8ad315a4615a871
-rw-r--r-- | vcl/unx/gtk/gdi/salnativewidgets-gtk.cxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/vcl/unx/gtk/gdi/salnativewidgets-gtk.cxx b/vcl/unx/gtk/gdi/salnativewidgets-gtk.cxx index ce14634d373a..6fd600b87455 100644 --- a/vcl/unx/gtk/gdi/salnativewidgets-gtk.cxx +++ b/vcl/unx/gtk/gdi/salnativewidgets-gtk.cxx @@ -3736,13 +3736,14 @@ void GtkSalGraphics::updateSettings( AllSettings& rSettings ) // text colors Color aTextColor = getColor( pStyle->text[GTK_STATE_NORMAL] ); aStyleSet.SetDialogTextColor( aTextColor ); + aStyleSet.SetWindowTextColor( aTextColor ); + aStyleSet.SetFieldTextColor( aTextColor ); + aTextColor = getColor( pStyle->fg[GTK_STATE_NORMAL] ); aStyleSet.SetButtonTextColor( aTextColor ); aStyleSet.SetRadioCheckTextColor( aTextColor ); aStyleSet.SetGroupTextColor( aTextColor ); aStyleSet.SetLabelTextColor( aTextColor ); aStyleSet.SetInfoTextColor( aTextColor ); - aStyleSet.SetWindowTextColor( aTextColor ); - aStyleSet.SetFieldTextColor( aTextColor ); // Tooltip colors GtkStyle* pTooltipStyle = gtk_widget_get_style( gWidgetData[m_nXScreen].gTooltipPopup ); |