[PATCH] ui/kis_dlg_adjustment_layer.{cc, h}: set adjustment layer name

Boudewijn Rempt boud at valdyas.org
Wed Feb 22 16:16:31 CET 2006


On Wednesday 22 February 2006 16:12, Melchior FRANZ wrote:
> This patch makes the label name editfield empty first. That way one
> can quickly insert one's choice. If it is left empty, then selecting
> a filter will insert the respective filter name. Selecting a different
> filter will update to this filter name. If the user edits the field,
> further updating will be omitted and the field contents are taken as is.
>
> What is a bit ugly, is how the menuEntry() has to be edited to make
> it acceptable as layer name: strip the accelerator underline marker
> (all '&') and trailing (well, actually every) ellipsis ("...").

Why use the menuname? Couldn't you use KisFilter::id().name()? That gives the 
translated name of the filter.
-- 
Boudewijn Rempt 
http://www.valdyas.org/fading/index.cgi
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/kimageshop/attachments/20060222/d205728d/attachment.pgp 


More information about the kimageshop mailing list