Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
in context menu sub menu names
Use the same mechanism for adding the triangle in LLContextMenuBranch as
is already used in LLMenuItemBranchGL. As a bonus, the triangles will be
nicely right-aligned, just as in the main menu.
Remaining hard-coded triangles all are in indra/newview/skins/default/xui/*/panel_voice_effect.xml.
|
|
Since label of the "Touch" object context menu item may be overridden by the object with
something like "Sit" or "Kiss", i.e. the label can be different from the default one,
there is a special code for handling this.
The code uses parameter of the on_enable callback as a label for the menu item.
So, the fix is to pass localized label to on_enable callback of the "Object Touch" menu item.
Reviewed by Mike Antipov at https://codereview.productengine.com/secondlife/r/759/
--HG--
branch : product-engine
|
|
|
|
|
|
|
|
|
|
|
|
1.23s UI
reviewed by Leyla
|
|
|