[Libreoffice-commits] core.git: Branch 'libreoffice-4-2' - cui/source

Caolán McNamara caolanm at redhat.com
Fri Dec 13 02:07:38 PST 2013


 cui/source/options/optcolor.cxx |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

New commits:
commit 6ec1253285ec39b31b82ba7bc7a2b0bd0f98ef7a
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Fri Dec 13 10:05:03 2013 +0000

    Resolves: fdo#71192 options->appearence isn't all the same color
    
    Change-Id: I8beaf1f4a1ea685af22ae0dafbff767bee98d3b4
    (cherry picked from commit e3853a1abc9873a00478ba56b124e0a94f9896ba)

diff --git a/cui/source/options/optcolor.cxx b/cui/source/options/optcolor.cxx
index d09fd77..bf95ce8 100644
--- a/cui/source/options/optcolor.cxx
+++ b/cui/source/options/optcolor.cxx
@@ -598,7 +598,9 @@ void ColorConfigWindow_Impl::SetAppearance ()
     Wallpaper const aBackWall(aBackColor);
     for (size_t i = 0; i != vChapters.size(); ++i)
         vChapters[i]->Show(aBackWall);
-    SetBackground(Wallpaper(rStyleSettings.GetFieldColor()));
+    Wallpaper aBack(rStyleSettings.GetFieldColor());
+    SetBackground(aBack);
+    m_pGrid->SetBackground(aBack);
 
     // #104195# when the window color is the same as the text color it has to be changed
     Color aWinCol = rStyleSettings.GetWindowColor();


More information about the Libreoffice-commits mailing list