From d571b911e1674ce82dd92c7886cac2a0bdbc5fbf Mon Sep 17 00:00:00 2001 From: Kitty Barnett Date: Sun, 22 May 2011 11:55:30 +0200 Subject: [PATCH] - changed : removed the experimental @displayname=n command -> display name is changed through web profiles starting with SL-2.5 --HG-- branch : RLVa --- indra/newview/llpanelme.cpp | 17 ++--------------- indra/newview/rlvdefines.h | 2 -- indra/newview/rlvhandler.cpp | 3 --- indra/newview/rlvhelper.cpp | 8 ++++---- indra/newview/rlvui.cpp | 20 -------------------- indra/newview/rlvui.h | 1 - 6 files changed, 6 insertions(+), 45 deletions(-) diff --git a/indra/newview/llpanelme.cpp b/indra/newview/llpanelme.cpp index 664a68fbd4..d3c9c3e131 100644 --- a/indra/newview/llpanelme.cpp +++ b/indra/newview/llpanelme.cpp @@ -40,10 +40,6 @@ #include "llsidetray.h" #include "llviewercontrol.h" #include "llviewerdisplayname.h" -// [RLVa:KB] - Checked: 2010-11-02 (RLVa-1.2.2a) -#include "rlvhandler.h" -#include "rlvui.h" -// [/RLVa:KB] // Linden libraries #include "llavatarnamecache.h" // IDEVO @@ -184,9 +180,6 @@ LLPanelMyProfileEdit::LLPanelMyProfileEdit() setAvatarId(gAgent.getID()); LLAvatarNameCache::addUseDisplayNamesCallback(boost::bind(&LLPanelMyProfileEdit::onAvatarNameChanged, this)); -// [RLVa:KB] - Checked: 2010-11-02 (RLVa-1.2.2a) | Added: RLVa-1.2.1a - RlvUIEnabler::instance().addBehaviourToggleCallback(RLV_BHVR_DISPLAYNAME, boost::bind(&LLPanelMyProfileEdit::onAvatarNameChanged, this)); -// [/RLVa:KB] } void LLPanelMyProfileEdit::onOpen(const LLSD& key) @@ -220,10 +213,7 @@ void LLPanelMyProfileEdit::onOpen(const LLSD& key) getChild("user_slid")->setVisible( true ); getChild("display_name_label")->setVisible( true ); getChild("set_name")->setVisible( true ); -// getChild("set_name")->setEnabled( true ); -// [RLVa:KB] - Checked: 2010-11-02 (RLVa-1.2.2a) | Added: RLVa-1.2.1a - getChild("set_name")->setEnabled( !gRlvHandler.hasBehaviour(RLV_BHVR_DISPLAYNAME) ); -// [/RLVa:KB] + getChild("set_name")->setEnabled( true ); getChild("solo_user_name")->setVisible( false ); getChild("solo_username_label")->setVisible( false ); } @@ -295,10 +285,7 @@ void LLPanelMyProfileEdit::onNameCache(const LLUUID& agent_id, const LLAvatarNam getChild("user_slid")->setVisible( true ); getChild("display_name_label")->setVisible( true ); getChild("set_name")->setVisible( true ); -// getChild("set_name")->setEnabled( true ); -// [RLVa:KB] - Checked: 2010-11-02 (RLVa-1.2.2a) | Added: RLVa-1.2.1a - getChild("set_name")->setEnabled( !gRlvHandler.hasBehaviour(RLV_BHVR_DISPLAYNAME) ); -// [/RLVa:KB] + getChild("set_name")->setEnabled( true ); getChild("solo_user_name")->setVisible( false ); getChild("solo_username_label")->setVisible( false ); diff --git a/indra/newview/rlvdefines.h b/indra/newview/rlvdefines.h index 2a0f962389..8559ff8ba5 100644 --- a/indra/newview/rlvdefines.h +++ b/indra/newview/rlvdefines.h @@ -49,7 +49,6 @@ #define RLV_EXTENSION_CMD_GETXXXNAMES // @get[add|rem]attachnames: