Hi Kohei,
On Wed, 2012-05-23 at 20:54 -0400, Kohei Yoshida wrote:
Could someone refresh me on how to associate an icon image with an
internal command (e.g. ".uno:DoFoo")?
A generic image widget ? or a toolbar item ? if the latter, then
perhaps the missing link is in the officecfg/ XML that has the
translation for the string/label associated with that thing IIRC.
I did it once, many years ago, but I can't remember the process. There
was something very non-obvious about this, like you have to set some
flag to 1 to enable that image or something like that. Also that the
command name is loosely associated with the name of the image file
etc.
Right - so if you have .uno:AbCDeFg - then you need a pair of images
in: icon-theme/galaxy/cmd/ lc_abcdefg.png and sc_abcdefg.png - prolly
the 'packimages' needs a from-clean re-build after that, but the
icon .zips should be linkoo'd these days.
HTH,
Michael.
--
michael.meeks@suse.com <><, Pseudo Engineer, itinerant idiot
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.