Skip to content
Snippets Groups Projects
Commit e3d0761b authored by Josh Bell's avatar Josh Bell
Browse files
Revert change for SL-51198 ("VWR-2072: New Feature -> UI -> IM -> Teleport (other person) Button"), per Ben - more comprehensive design coming through Rx soon.
parent 13c391f1
No related branches found
No related tags found
No related merge requests found
...@@ -107,8 +107,6 @@ Grazer Kline ...@@ -107,8 +107,6 @@ Grazer Kline
VWR-1092 VWR-1092
Gudmund Shepherd Gudmund Shepherd
VWR-1594 VWR-1594
Hamncheese Omlet
VWR-333
Henri Beauchamp Henri Beauchamp
VWR-1406 VWR-1406
Hikkoshi Sakai Hikkoshi Sakai
...@@ -218,7 +216,6 @@ Paul Churchill ...@@ -218,7 +216,6 @@ Paul Churchill
VWR-1567 VWR-1567
VWR-1647 VWR-1647
VWR-1880 VWR-1880
VWR-2072
Paula Innis Paula Innis
VWR-30 VWR-30
VWR-293 VWR-293
......
...@@ -966,7 +966,6 @@ BOOL LLFloaterIMPanel::postBuild() ...@@ -966,7 +966,6 @@ BOOL LLFloaterIMPanel::postBuild()
childSetAction("end_call_btn", onClickEndCall, this); childSetAction("end_call_btn", onClickEndCall, this);
childSetAction("send_btn", onClickSend, this); childSetAction("send_btn", onClickSend, this);
childSetAction("toggle_active_speakers_btn", onClickToggleActiveSpeakers, this); childSetAction("toggle_active_speakers_btn", onClickToggleActiveSpeakers, this);
childSetAction("offer_tp_btn", onClickOfferTeleport, this);
//LLButton* close_btn = LLUICtrlFactory::getButtonByName(this, "close_btn"); //LLButton* close_btn = LLUICtrlFactory::getButtonByName(this, "close_btn");
//close_btn->setClickedCallback(&LLFloaterIMPanel::onClickClose, this); //close_btn->setClickedCallback(&LLFloaterIMPanel::onClickClose, this);
...@@ -1060,13 +1059,6 @@ void LLFloaterIMPanel::draw() ...@@ -1060,13 +1059,6 @@ void LLFloaterIMPanel::draw()
childSetEnabled("start_call_btn", enable_connect); childSetEnabled("start_call_btn", enable_connect);
childSetEnabled("send_btn", !childGetValue("chat_editor").asString().empty()); 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) if (mAutoConnect && enable_connect)
{ {
onClickStartCall(this); onClickStartCall(this);
...@@ -1393,13 +1385,6 @@ void LLFloaterIMPanel::onTabClick(void* userdata) ...@@ -1393,13 +1385,6 @@ void LLFloaterIMPanel::onTabClick(void* userdata)
self->setInputFocus(TRUE); self->setInputFocus(TRUE);
} }
// static
void LLFloaterIMPanel::onClickOfferTeleport(void* userdata)
{
LLFloaterIMPanel* self = (LLFloaterIMPanel*) userdata;
handle_lure(self->mOtherParticipantUUID);
}
// static // static
void LLFloaterIMPanel::onClickProfile( void* userdata ) void LLFloaterIMPanel::onClickProfile( void* userdata )
......
...@@ -187,7 +187,6 @@ class LLFloaterIMPanel : public LLFloater ...@@ -187,7 +187,6 @@ class LLFloaterIMPanel : public LLFloater
static void onClickProfile( void* userdata ); static void onClickProfile( void* userdata );
static void onClickGroupInfo( void* userdata ); static void onClickGroupInfo( void* userdata );
static void onClickOfferTeleport( void* userdata );
static void onClickClose( void* userdata ); static void onClickClose( void* userdata );
static void onClickStartCall( void* userdata ); static void onClickStartCall( void* userdata );
static void onClickEndCall( void* userdata ); static void onClickEndCall( void* userdata );
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment