<html>
<head>
<base href="https://bugs.documentfoundation.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - add support for user icon themes via extension manager"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=110742#c5">Comment # 5</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - add support for user icon themes via extension manager"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=110742">bug 110742</a>
from <span class="vcard"><a class="email" href="mailto:markus.mohrhard@googlemail.com" title="Markus Mohrhard <markus.mohrhard@googlemail.com>"> <span class="fn">Markus Mohrhard</span></a>
</span></b>
<pre>(In reply to admin from <a href="show_bug.cgi?id=110742#c4">comment #4</a>)
<span class="quote">> (In reply to andreas_k from <a href="show_bug.cgi?id=110742#c3">comment #3</a>)
> > 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!</span >
Most likely the simplest solution is to always handle a std::vector<OUString>
for GetStandardIconThemePath and the IconThemeScanner::Create
This is a really simple and quick change.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>