https://bugs.freedesktop.org/show_bug.cgi?id=42779

             Bug #: 42779
           Summary: EasyHack: make life easier for artists
    Classification: Unclassified
           Product: LibreOffice
           Version: unspecified
          Platform: Other
        OS/Version: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: UI
        AssignedTo: [email protected]
        ReportedBy: [email protected]


Currently if an artist wishes to do some icon theming they have to run some
scripts when they save an image to re-pack (by zipping) their icon theme of
interest, and then re-start LibreOffice. That is a bit of a pain.

It would be lovely if the icon loading code could support a look-aside
directory tree beside the icon-theme, and preferentially load from there if it
is present.

Currently we look in share/config/images.zip (for example). It would be
wonderful to (one-off at startup) check if a share/config/images/ directory
exists - and if so to resolve paths against this [ and also turn off icon
caching so no re-load is necessary ].

The code is here, for image load:
http://cgit.freedesktop.org/libreoffice/core/tree/vcl/source/gdi/impimagetree.cxx#n195

and cache:
http://cgit.freedesktop.org/libreoffice/core/tree/vcl/source/gdi/impimagetree.cxx#n343

and to check if a directory exists we should use the sal/inc/osl/file.hxx code
I think.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to