diff options
Diffstat (limited to 'indra')
| -rw-r--r-- | indra/newview/llpanelprofile.cpp | 4 | ||||
| -rw-r--r-- | indra/newview/skins/default/xui/en/menu_profile_other.xml | 8 |
2 files changed, 12 insertions, 0 deletions
diff --git a/indra/newview/llpanelprofile.cpp b/indra/newview/llpanelprofile.cpp index 3d8e5575ae..9402facb2a 100644 --- a/indra/newview/llpanelprofile.cpp +++ b/indra/newview/llpanelprofile.cpp @@ -1440,6 +1440,10 @@ void LLPanelProfileSecondLife::onCommitMenu(const LLSD& userdata) { LLAvatarActions::startIM(agent_id); } + else if (item_name == "view_profile") + { + LLAvatarActions::showProfile(agent_id); + } else if (item_name == "offer_teleport") { LLAvatarActions::offerTeleport(agent_id); diff --git a/indra/newview/skins/default/xui/en/menu_profile_other.xml b/indra/newview/skins/default/xui/en/menu_profile_other.xml index a505b38087..8ea972f369 100644 --- a/indra/newview/skins/default/xui/en/menu_profile_other.xml +++ b/indra/newview/skins/default/xui/en/menu_profile_other.xml @@ -3,6 +3,14 @@ layout="topleft" name="Avatar Profile Menu"> <menu_item_call + label="View Profile" + layout="topleft" + name="view_profile"> + <menu_item_call.on_click + function="Profile.Commit" + parameter="view_profile"/> + </menu_item_call> + <menu_item_call label="IM" layout="topleft" name="im"> |
