From cf86247b8c5e199447b7cd3dc645a42a6a645265 Mon Sep 17 00:00:00 2001 From: Seth ProductEngine Date: Thu, 26 Apr 2012 23:52:57 +0300 Subject: CHUI-78 WIP Reordered and added missing items for People floater gear menus. --- indra/newview/llpanelpeoplemenus.cpp | 1 + .../skins/default/xui/en/menu_people_groups.xml | 23 +++++---- .../skins/default/xui/en/menu_people_nearby.xml | 56 +++++++++++++--------- 3 files changed, 45 insertions(+), 35 deletions(-) (limited to 'indra/newview') diff --git a/indra/newview/llpanelpeoplemenus.cpp b/indra/newview/llpanelpeoplemenus.cpp index f12c4de2f7..0d66b8f10b 100644 --- a/indra/newview/llpanelpeoplemenus.cpp +++ b/indra/newview/llpanelpeoplemenus.cpp @@ -67,6 +67,7 @@ LLContextMenu* NearbyMenu::createMenu() registrar.add("Avatar.Share", boost::bind(&LLAvatarActions::share, id)); registrar.add("Avatar.Pay", boost::bind(&LLAvatarActions::pay, id)); registrar.add("Avatar.BlockUnblock", boost::bind(&LLAvatarActions::toggleBlock, id)); + registrar.add("Avatar.InviteToGroup", boost::bind(&LLAvatarActions::inviteToGroup, id)); enable_registrar.add("Avatar.EnableItem", boost::bind(&NearbyMenu::enableContextMenuItem, this, _2)); enable_registrar.add("Avatar.CheckItem", boost::bind(&NearbyMenu::checkContextMenuItem, this, _2)); diff --git a/indra/newview/skins/default/xui/en/menu_people_groups.xml b/indra/newview/skins/default/xui/en/menu_people_groups.xml index 3a450258fa..1e0364b84e 100644 --- a/indra/newview/skins/default/xui/en/menu_people_groups.xml +++ b/indra/newview/skins/default/xui/en/menu_people_groups.xml @@ -2,6 +2,16 @@ + + + + @@ -23,7 +33,7 @@ parameter="chat" /> - - - - - diff --git a/indra/newview/skins/default/xui/en/menu_people_nearby.xml b/indra/newview/skins/default/xui/en/menu_people_nearby.xml index d2e35e4cc0..b7c9ab1fe3 100644 --- a/indra/newview/skins/default/xui/en/menu_people_nearby.xml +++ b/indra/newview/skins/default/xui/en/menu_people_nearby.xml @@ -9,13 +9,40 @@ + + + + + + + + + + + + - @@ -30,22 +57,13 @@ parameter="can_delete" /> + name="Invite"> - - - - + function="Avatar.InviteToGroup" /> + - - - - + -- cgit v1.2.3