Tobias Krais wrote:
Hi together,
again a question from me... I want to rename a menu entry, e.g. the
entry "Save as..." to "Secure Copy". Please see the code below (esp. the
comment).
after calling this routine I apply the changes to the root container.
Do I miss something? Is this a bug or feature?
Hi Tobias,
May be it sounds strange but this is a feature. The state of all user
interface elements (menu bar, tool bar, status bar) is dynamic. There
are a set of menu items, which changes their label dynamically. The
command "uno:SaveAs" belongs to this type of set.
Other commands are ".uno:Undo" and ".uno:Restore" as their labels
provide information about the action which can be undone or restored.
You can see it, if you make some changes to a document and open the
"Edit" menu.
There is no real workaround. You have to remove the command
".uno:SaveAs" and implement your own function.
Regards,
Carsten
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]