Date: prev next · Thread: first prev next last
2013 Archives by date, by thread · List index


Hi Machanch,

Michael Meeks píše v Pá 08. 03. 2013 v 10:01 +0000:

I have just install a persona into LibreOffce.. It happens to be a dark
image. This has obscure the menus which are in dark text so they are not
visable.

      As Robinson points out - this is a known issue; this is the developers
list however - so I assume you'll want some code pointers for fixing
it ? :-)

      If so - the colors come from:

      vcl/inc/vcl/settings.hxx (StyleSettings)

      the persona dialog is here:

      cui/source/options/personalization.cxx

      I guess it'd be worth un-tangling how the personas are read - and (as a
first cut) just clobbering the colours when a persona is parsed.

Just to be more specific - you want to update

static void setupPersonaHeaderFooter()

in vcl/source/app/settings.cxx to update maMenuBarTextColor too.  The
color is available in aPersonaSettings as the next token after the
footer bitmap.

I've turned the bug into an Easy Hack, and added the instructions here:

https://bugs.freedesktop.org/show_bug.cgi?id=60542#c8

All the best,
Kendy


Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.