i've installed the editortoolbar0.4 and configured it but i wanna change the toolbar's buttons glyph to what they mean. How can i do? my toolbar looks like this:
http://imagebin.org/201188
and on it i have a cut/copy/paste button, toggle comment on selection, etc...
________________________________
William de Oliveira Ferreira
Bacharel em Sistemas de Informa??o
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20120228/42444bc5/attachment.html>
Mailing lists / lazarus / 2012-02
editor toolbar's buttons glyph
4 messages · 2 people · –
- GGraeme Geldenhuys 2
- WWilliam Oliveira Ferreira 2
Reply by email Subscribe to this list Your subscription
Read-only archive. Use j and k to move between messages.
2012/2/28 William Oliveira Ferreira :
Show quoted text 5 lines
The editor toolbar will normally use the same glyph as was used in the main menu (main window of Lazarus). Those glyphs you see, should only be shown in the case where the menu item didn't have a glyph.
Can you attach the editor toolbar XML settings file (it should be in your ~/.lazarus directory - if you use *nix systems).
2012/2/28 Graeme Geldenhuys
Show quoted text 32 lines
Sure, here it is...
William Oliveira Ferreira wroteSure, here it is...
OK, as I suspected... most of your toolbar actions you chose are not from the IDEMainMenu, but rather from other popup menus like the SourceEditor. Such popup menus (like in the case of the Source Editor), don't have glyphs assigned to them - thus the toolbar gives the default thunderbolt glyph. The most reliable location (with glyphs) is the IDEMainMenu tree hierarchy - but then again, not all menu items have glyphs associated with them.
Attached is a semi-fixed version, where I replaced the Cut/Copy/Paste actions, to rather use the IDEMainMenu entries. They now display the correct glyphs.
If you don't understand what I mean, please do a comparison between the attached XML file, and the one you currently have.
