[Libreoffice-commits] core.git: Branch 'libreoffice-5-1' - vcl/unx

Caolán McNamara caolanm at redhat.com
Fri Feb 12 20:36:46 UTC 2016


 vcl/unx/gtk3/gtk3salnativewidgets-gtk.cxx |    4 ++++
 1 file changed, 4 insertions(+)

New commits:
commit 77d2f04d802b2b94eb80206fbbc230719328ec4d
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
    (cherry picked from commit 4cd1c029812155e4e1f80dcf69ea4167edec0130)
    Reviewed-on: https://gerrit.libreoffice.org/22314
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Tomaž Vajngerl <quikee at gmail.com>

diff --git a/vcl/unx/gtk3/gtk3salnativewidgets-gtk.cxx b/vcl/unx/gtk3/gtk3salnativewidgets-gtk.cxx
index cfc0226..d7d9a1d 100644
--- a/vcl/unx/gtk3/gtk3salnativewidgets-gtk.cxx
+++ b/vcl/unx/gtk3/gtk3salnativewidgets-gtk.cxx
@@ -1934,6 +1934,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