From e3d0761b5eb2ead6ccaa1bcd871b754c5e5ff65c Mon Sep 17 00:00:00 2001 From: Josh Bell Date: Mon, 17 Sep 2007 16:01:11 +0000 Subject: svn merge -r 68785:68784 svn+ssh://svn.lindenlab.com/svn/linden/branches/maintenance Revert change for SL-51198 ("VWR-2072: New Feature -> UI -> IM -> Teleport (other person) Button"), per Ben - more comprehensive design coming through Rx soon. --- indra/newview/llimpanel.cpp | 15 --------------- indra/newview/llimpanel.h | 1 - 2 files changed, 16 deletions(-) (limited to 'indra') 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 ) diff --git a/indra/newview/llimpanel.h b/indra/newview/llimpanel.h index f780bcb2bb..dbe09fb396 100644 --- a/indra/newview/llimpanel.h +++ b/indra/newview/llimpanel.h @@ -187,7 +187,6 @@ public: static void onClickProfile( void* userdata ); static void onClickGroupInfo( void* userdata ); - static void onClickOfferTeleport( void* userdata ); static void onClickClose( void* userdata ); static void onClickStartCall( void* userdata ); static void onClickEndCall( void* userdata ); -- cgit v1.2.3