aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llimview.cpp
diff options
context:
space:
mode:
authorJacek Antonelli2008-09-28 17:21:23 -0500
committerJacek Antonelli2008-09-28 17:21:46 -0500
commit31e7c77a411d94bc87f0232588b339149bb29a49 (patch)
tree49e487700e91713e620e4d33f20b7f7afb5a2fa9 /linden/indra/newview/llimview.cpp
parentSecond Life viewer sources 1.21.2-RC (diff)
downloadmeta-impy-31e7c77a411d94bc87f0232588b339149bb29a49.zip
meta-impy-31e7c77a411d94bc87f0232588b339149bb29a49.tar.gz
meta-impy-31e7c77a411d94bc87f0232588b339149bb29a49.tar.bz2
meta-impy-31e7c77a411d94bc87f0232588b339149bb29a49.tar.xz
Second Life viewer sources 1.21.3-RC
Diffstat (limited to 'linden/indra/newview/llimview.cpp')
-rw-r--r--linden/indra/newview/llimview.cpp16
1 files changed, 5 insertions, 11 deletions
diff --git a/linden/indra/newview/llimview.cpp b/linden/indra/newview/llimview.cpp
index 309e479..21d8e1f 100644
--- a/linden/indra/newview/llimview.cpp
+++ b/linden/indra/newview/llimview.cpp
@@ -157,10 +157,10 @@ BOOL LLFloaterIM::postBuild()
157{ 157{
158 // IM session initiation warnings 158 // IM session initiation warnings
159 sOnlyUserMessage = getString("only_user_message"); 159 sOnlyUserMessage = getString("only_user_message");
160 sOfflineMessage = getUIString("offline_message"); 160 sOfflineMessage = getString("offline_message");
161 sMutedMessage = getUIString("muted_message"); 161 sMutedMessage = getString("muted_message");
162 162
163 sInviteMessage = getUIString("invite_message"); 163 sInviteMessage = getString("invite_message");
164 164
165 if ( sErrorStringsMap.find("generic") == sErrorStringsMap.end() ) 165 if ( sErrorStringsMap.find("generic") == sErrorStringsMap.end() )
166 { 166 {
@@ -216,12 +216,6 @@ BOOL LLFloaterIM::postBuild()
216 } 216 }
217 217
218 218
219 if ( sEventStringsMap.end() == sEventStringsMap.find("mute") )
220 {
221 sEventStringsMap["mute"] =
222 getString("mute_agent_event");
223 }
224
225 if ( sForceCloseSessionMap.end() == 219 if ( sForceCloseSessionMap.end() ==
226 sForceCloseSessionMap.find("removed") ) 220 sForceCloseSessionMap.find("removed") )
227 { 221 {
@@ -525,7 +519,7 @@ void LLIMMgr::addSystemMessage(const LLUUID& session_id, const std::string& mess
525 { 519 {
526 LLFloaterChat* floaterp = LLFloaterChat::getInstance(); 520 LLFloaterChat* floaterp = LLFloaterChat::getInstance();
527 521
528 message = floaterp->getUIString(message_name); 522 message = floaterp->getString(message_name);
529 message.setArgList(args); 523 message.setArgList(args);
530 524
531 LLChat chat(message); 525 LLChat chat(message);
@@ -537,7 +531,7 @@ void LLIMMgr::addSystemMessage(const LLUUID& session_id, const std::string& mess
537 LLFloaterIMPanel* floaterp = findFloaterBySession(session_id); 531 LLFloaterIMPanel* floaterp = findFloaterBySession(session_id);
538 if (floaterp) 532 if (floaterp)
539 { 533 {
540 message = floaterp->getUIString(message_name); 534 message = floaterp->getString(message_name);
541 message.setArgList(args); 535 message.setArgList(args);
542 536
543 gIMMgr->addMessage(session_id, LLUUID::null, SYSTEM_FROM, message.getString()); 537 gIMMgr->addMessage(session_id, LLUUID::null, SYSTEM_FROM, message.getString());