aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llfloaternewim.cpp
diff options
context:
space:
mode:
authorJacek Antonelli2008-08-15 23:45:04 -0500
committerJacek Antonelli2008-08-15 23:45:04 -0500
commit117e22047c5752352342d64e3fb7ce00a4eb8113 (patch)
treee32de2cfba0dda8705ae528fcd1fbe23ba075685 /linden/indra/newview/llfloaternewim.cpp
parentSecond Life viewer sources 1.18.0.6 (diff)
downloadmeta-impy-117e22047c5752352342d64e3fb7ce00a4eb8113.zip
meta-impy-117e22047c5752352342d64e3fb7ce00a4eb8113.tar.gz
meta-impy-117e22047c5752352342d64e3fb7ce00a4eb8113.tar.bz2
meta-impy-117e22047c5752352342d64e3fb7ce00a4eb8113.tar.xz
Second Life viewer sources 1.18.1.2
Diffstat (limited to '')
-rw-r--r--linden/indra/newview/llfloaternewim.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/linden/indra/newview/llfloaternewim.cpp b/linden/indra/newview/llfloaternewim.cpp
index 1adb37c..844259f 100644
--- a/linden/indra/newview/llfloaternewim.cpp
+++ b/linden/indra/newview/llfloaternewim.cpp
@@ -208,8 +208,8 @@ void LLFloaterNewIM::onStart(void* userdata)
208 EInstantMessage type; 208 EInstantMessage type;
209 EInstantMessage* t = (EInstantMessage*)item->getUserdata(); 209 EInstantMessage* t = (EInstantMessage*)item->getUserdata();
210 if(t) type = (*t); 210 if(t) type = (*t);
211 else type = LLIMView::defaultIMTypeForAgent(item->getUUID()); 211 else type = LLIMMgr::defaultIMTypeForAgent(item->getUUID());
212 gIMView->addSession(name, type, item->getUUID()); 212 gIMMgr->addSession(name, type, item->getUUID());
213 213
214 make_ui_sound("UISndStartIM"); 214 make_ui_sound("UISndStartIM");
215 } 215 }
@@ -223,7 +223,7 @@ void LLFloaterNewIM::onStart(void* userdata)
223// static 223// static
224void LLFloaterNewIM::onClickClose(void *userdata) 224void LLFloaterNewIM::onClickClose(void *userdata)
225{ 225{
226 gIMView->setFloaterOpen(FALSE); 226 gIMMgr->setFloaterOpen(FALSE);
227} 227}
228 228
229 229
@@ -236,7 +236,7 @@ BOOL LLFloaterNewIM::handleKeyHere(KEY key, MASK mask, BOOL called_from_parent)
236 { 236 {
237 handled = TRUE; 237 handled = TRUE;
238 // Close talk panel on escape 238 // Close talk panel on escape
239 gIMView->toggle(NULL); 239 gIMMgr->toggle(NULL);
240 } 240 }
241 } 241 }
242 242