[Libreoffice-bugs] [Bug 110742] add support for user icon themes via extension manager

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Thu Aug 31 10:40:19 UTC 2017


https://bugs.documentfoundation.org/show_bug.cgi?id=110742

--- Comment #4 from admin at shinnok.com ---
(In reply to andreas_k from comment #3)
> So if I get an mentor I will do it.

Currently the standard icon search path is hardcoded to $BRAND_BASE_DIR and
returned from this static method: IconThemeScanner::GetStandardIconThemePath().

It is then used in settings.cxx to instantiate mIconThemeScanner for class
ImplStyleDate. The default theme is set using
StyleSettings::GetAutomaticallyChosenIconTheme().
Here's a list of relevant files that will help you get around:

vcl/source/app/settings.cxx
vcl/source/app/IconThemeScanner.cxx
vcl/source/app/IconTheme*.cxx

As for the actual proper way of changing this to also look in the
$USER/libreoffice dir, I'm going to leave it to someone who is well versed on
theme/ui code to advise you on the best approach. If you start working on this
please assign it to you. Thank you!

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20170831/6605d070/attachment.html>


More information about the Libreoffice-bugs mailing list