[Libreoffice-commits] core.git: vcl/headless

Michael Meeks michael.meeks at collabora.com
Sat Dec 9 12:22:31 UTC 2017


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

New commits:
commit 95a72981e572a961a1c4c03f81fd365c1cb23e9f
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/46123
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Michael Meeks <michael.meeks at collabora.com>

diff --git a/vcl/headless/svpframe.cxx b/vcl/headless/svpframe.cxx
index 711806226c49..045859b14262 100644
--- a/vcl/headless/svpframe.cxx
+++ b/vcl/headless/svpframe.cxx
@@ -411,6 +411,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