[Libreoffice-commits] core.git: Branch 'distro/collabora/cp-5.3' - vcl/headless

Michael Meeks michael.meeks at collabora.com
Sat Dec 9 06:56:46 UTC 2017


 vcl/headless/svpframe.cxx |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit 42cea8972a7be358c910304de5234a2e7fa2872f
Author: Michael Meeks <michael.meeks at collabora.com>
Date:   Fri Dec 8 20:09:44 2017 +0000

    headless: improve popup menu background defaults.
    
    Change-Id: Icda7df363827e1942486c961bf9eef9402aba96c
    Reviewed-on: https://gerrit.libreoffice.org/46121
    Reviewed-by: pranavk <pranavk at collabora.co.uk>
    Tested-by: pranavk <pranavk at collabora.co.uk>

diff --git a/vcl/headless/svpframe.cxx b/vcl/headless/svpframe.cxx
index db4ed6e1411a..c49128c43049 100644
--- a/vcl/headless/svpframe.cxx
+++ b/vcl/headless/svpframe.cxx
@@ -417,6 +417,8 @@ void SvpSalFrame::UpdateSettings( AllSettings& rSettings )
 
     Color aBackgroundColor( 0xec, 0xec, 0xec );
     aStyleSettings.BatchSetBackgrounds( aBackgroundColor, false );
+    aStyleSettings.SetMenuColor( aBackgroundColor );
+    aStyleSettings.SetMenuBarColor( aBackgroundColor );
 
     if (comphelper::LibreOfficeKit::isActive()) // TODO: remove this.
     {


More information about the Libreoffice-commits mailing list