[Libreoffice-commits] core.git: vcl/unx
Caolán McNamara
caolanm at redhat.com
Fri Feb 12 12:08:44 UTC 2016
vcl/unx/gtk3/gtk3salnativewidgets-gtk.cxx | 4 ++++
1 file changed, 4 insertions(+)
New commits:
commit 4cd1c029812155e4e1f80dcf69ea4167edec0130
Author: Caolán McNamara <caolanm at redhat.com>
Date: Fri Feb 12 12:06:00 2016 +0000
Related: rhbz#1287593 subissues 1 & 2, pick 'tab' suitable colors from theme
we don't use these for "real" tabs in tabcontrols in the gtk3 themeing
but they get used in other places
Change-Id: Ia55b8a43604f624ac82923897a01050fa4aa2bc9
diff --git a/vcl/unx/gtk3/gtk3salnativewidgets-gtk.cxx b/vcl/unx/gtk3/gtk3salnativewidgets-gtk.cxx
index 675b098..1963636d 100644
--- a/vcl/unx/gtk3/gtk3salnativewidgets-gtk.cxx
+++ b/vcl/unx/gtk3/gtk3salnativewidgets-gtk.cxx
@@ -1940,6 +1940,10 @@ void GtkSalGraphics::updateSettings( AllSettings& rSettings )
aStyleSet.SetFieldColor( aBackFieldColor );
// This baby is the default page/paper color
aStyleSet.SetWindowColor( aBackFieldColor );
+
+ // Tab colors
+ aStyleSet.SetActiveTabColor( aBackFieldColor ); // same as the window color.
+ aStyleSet.SetInactiveTabColor( aBackColor );
}
// menu disabled entries handling
More information about the Libreoffice-commits
mailing list