diff options
author | dolphin <dolphin@lindenlab.com> | 2013-08-27 16:51:05 -0700 |
---|---|---|
committer | dolphin <dolphin@lindenlab.com> | 2013-08-27 16:51:05 -0700 |
commit | d29268f331380eb89224c5b0168bf89bd0116422 (patch) | |
tree | 47973dc2fbe434066e1de0c1695c3033eb76cc80 /indra/newview/llconversationmodel.cpp | |
parent | eaf847e60df3c078d15f8991e9448b06ffa83bf7 (diff) | |
parent | 6e1138585bf745f73f0bb99ca62f77eeb273f1e4 (diff) |
Merge
Diffstat (limited to 'indra/newview/llconversationmodel.cpp')
-rwxr-xr-x | indra/newview/llconversationmodel.cpp | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/indra/newview/llconversationmodel.cpp b/indra/newview/llconversationmodel.cpp index c74ce24872..192a594c9d 100755 --- a/indra/newview/llconversationmodel.cpp +++ b/indra/newview/llconversationmodel.cpp @@ -363,7 +363,10 @@ void LLConversationItemSession::buildContextMenu(LLMenuGL& menu, U32 flags) lldebugs << "LLConversationItemParticipant::buildContextMenu()" << llendl; menuentry_vec_t items; menuentry_vec_t disabled_items; - + if((flags & ITEM_IN_MULTI_SELECTION) && (this->getType() != CONV_SESSION_NEARBY)) + { + items.push_back(std::string("close_selected_conversations")); + } if(this->getType() == CONV_SESSION_1_ON_1) { items.push_back(std::string("close_conversation")); @@ -386,6 +389,10 @@ void LLConversationItemSession::buildContextMenu(LLMenuGL& menu, U32 flags) addVoiceOptions(items); items.push_back(std::string("chat_history")); } + else if(this->getType() == CONV_SESSION_NEARBY) + { + items.push_back(std::string("chat_history")); + } hide_context_entries(menu, items, disabled_items); } |