summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Antipov <mantipov@productengine.com>2009-11-30 15:38:18 +0200
committerMike Antipov <mantipov@productengine.com>2009-11-30 15:38:18 +0200
commit62e775288ca50e37edbdb3dc7dc55dbf61a546e3 (patch)
treeecfa5db6ed338e3724ec593f0e4acd2e944e1b73
parent3284dec5d962993882c1eaeee231e04b46fd4ec7 (diff)
Work on major sub-task EXT-2790 (Complete Voice Control Panel (floater) started by Lynx (LLVoiceControlPanel))
-- Changed text for empty nearby list to "No one near" --HG-- branch : product-engine
-rw-r--r--indra/newview/llcallfloater.cpp5
-rw-r--r--indra/newview/skins/default/xui/en/floater_voice_controls.xml4
2 files changed, 9 insertions, 0 deletions
diff --git a/indra/newview/llcallfloater.cpp b/indra/newview/llcallfloater.cpp
index b29e6d0574..0c6d3d2d54 100644
--- a/indra/newview/llcallfloater.cpp
+++ b/indra/newview/llcallfloater.cpp
@@ -145,6 +145,11 @@ void LLCallFloater::refreshPartisipantList()
bool do_not_use_context_menu_in_local_chat = LLLocalSpeakerMgr::getInstance() != mSpeakerManager;
mPaticipants = new LLParticipantList(mSpeakerManager, mAvatarList, do_not_use_context_menu_in_local_chat);
+
+ if (!do_not_use_context_menu_in_local_chat)
+ {
+ mAvatarList->setNoItemsCommentText(getString("no_one_near"));
+ }
}
void LLCallFloater::onCurrentChannelChanged(const LLUUID& /*session_id*/)
diff --git a/indra/newview/skins/default/xui/en/floater_voice_controls.xml b/indra/newview/skins/default/xui/en/floater_voice_controls.xml
index 4a5642e5c6..3c12aed3a0 100644
--- a/indra/newview/skins/default/xui/en/floater_voice_controls.xml
+++ b/indra/newview/skins/default/xui/en/floater_voice_controls.xml
@@ -20,6 +20,10 @@
name="title_adhoc">
Conference Call
</string>
+ <string
+ name="no_one_near">
+ No one near
+ </string>
<panel
bevel_style="in"
follows="left|right|top"