Associate an icon image with command

Michael Meeks michael.meeks at suse.com
Wed May 23 20:24:50 PDT 2012


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 at suse.com  <><, Pseudo Engineer, itinerant idiot



More information about the LibreOffice mailing list