diff options
Diffstat (limited to 'indra/newview/llimpanel.cpp')
-rw-r--r-- | indra/newview/llimpanel.cpp | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/indra/newview/llimpanel.cpp b/indra/newview/llimpanel.cpp index d57f5bf1f2..8d628d1b4f 100644 --- a/indra/newview/llimpanel.cpp +++ b/indra/newview/llimpanel.cpp @@ -966,7 +966,6 @@ BOOL LLFloaterIMPanel::postBuild() childSetAction("end_call_btn", onClickEndCall, this); childSetAction("send_btn", onClickSend, this); childSetAction("toggle_active_speakers_btn", onClickToggleActiveSpeakers, this); - childSetAction("offer_tp_btn", onClickOfferTeleport, this); //LLButton* close_btn = LLUICtrlFactory::getButtonByName(this, "close_btn"); //close_btn->setClickedCallback(&LLFloaterIMPanel::onClickClose, this); @@ -1060,13 +1059,6 @@ void LLFloaterIMPanel::draw() childSetEnabled("start_call_btn", enable_connect); childSetEnabled("send_btn", !childGetValue("chat_editor").asString().empty()); - const LLRelationship* info = NULL; - info = LLAvatarTracker::instance().getBuddyInfo(mOtherParticipantUUID); - if (info) - { - childSetEnabled("offer_tp_btn", info->isOnline()); - } - if (mAutoConnect && enable_connect) { onClickStartCall(this); @@ -1393,13 +1385,6 @@ void LLFloaterIMPanel::onTabClick(void* userdata) self->setInputFocus(TRUE); } -// static -void LLFloaterIMPanel::onClickOfferTeleport(void* userdata) -{ - LLFloaterIMPanel* self = (LLFloaterIMPanel*) userdata; - - handle_lure(self->mOtherParticipantUUID); -} // static void LLFloaterIMPanel::onClickProfile( void* userdata ) |