diff options
author | Oz Linden <oz@lindenlab.com> | 2017-08-16 15:43:58 -0400 |
---|---|---|
committer | Oz Linden <oz@lindenlab.com> | 2017-08-16 15:43:58 -0400 |
commit | 01e0b78c595e346bef4e771f9580006dd895367c (patch) | |
tree | 90160c9edb07baa4fcfd022082608f96b1bfdc06 /indra/newview/llfloaterimnearbychat.cpp | |
parent | 2368c44a8e2b031e5a8ac199923a016915cfe96a (diff) | |
parent | cf865bb5962a85e2da3414468d6a99ecb5423f97 (diff) |
merge changes for DRTVWR-439
Diffstat (limited to 'indra/newview/llfloaterimnearbychat.cpp')
-rw-r--r-- | indra/newview/llfloaterimnearbychat.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/indra/newview/llfloaterimnearbychat.cpp b/indra/newview/llfloaterimnearbychat.cpp index 7bf4516d8c..f9efd13608 100644 --- a/indra/newview/llfloaterimnearbychat.cpp +++ b/indra/newview/llfloaterimnearbychat.cpp @@ -87,6 +87,10 @@ static LLChatTypeTrigger sChatTypeTriggers[] = { { "/shout" , CHAT_TYPE_SHOUT} }; +bool cb_do_nothing() +{ + return false; +} LLFloaterIMNearbyChat::LLFloaterIMNearbyChat(const LLSD& llsd) : LLFloaterIMSessionTab(LLSD(LLUUID::null)), @@ -97,6 +101,12 @@ LLFloaterIMNearbyChat::LLFloaterIMNearbyChat(const LLSD& llsd) mIsP2PChat = false; mIsNearbyChat = true; mSpeakerMgr = LLLocalSpeakerMgr::getInstance(); + + // Required by LLFloaterIMSessionTab::mGearBtn + // But nearby floater has no 'per agent' menu items, + mEnableCallbackRegistrar.add("Avatar.EnableGearItem", boost::bind(&cb_do_nothing)); + mCommitCallbackRegistrar.add("Avatar.GearDoToSelected", boost::bind(&cb_do_nothing)); + mEnableCallbackRegistrar.add("Avatar.CheckGearItem", boost::bind(&cb_do_nothing)); } //static |