summaryrefslogtreecommitdiff
path: root/indra/newview/llpanelplaceprofile.cpp
diff options
context:
space:
mode:
authorDave SIMmONs <simon@lindenlab.com>2011-06-09 13:46:19 -0700
committerDave SIMmONs <simon@lindenlab.com>2011-06-09 13:46:19 -0700
commit50393788693578a2fe3a934faa04b382d75f1657 (patch)
treee7b6229da6628aaa28e8912065662bd827c19256 /indra/newview/llpanelplaceprofile.cpp
parent484a4733b7b361d87c6092f4f399951e84c2aacd (diff)
ER-910: Parcel Privacy. Rename things in code to reflect feature name change to "hidden avatars"
Diffstat (limited to 'indra/newview/llpanelplaceprofile.cpp')
-rw-r--r--indra/newview/llpanelplaceprofile.cpp26
1 files changed, 13 insertions, 13 deletions
diff --git a/indra/newview/llpanelplaceprofile.cpp b/indra/newview/llpanelplaceprofile.cpp
index da6a9fbbc6..1500ac5429 100644
--- a/indra/newview/llpanelplaceprofile.cpp
+++ b/indra/newview/llpanelplaceprofile.cpp
@@ -70,8 +70,8 @@ static std::string icon_scripts;
static std::string icon_scripts_no;
static std::string icon_damage;
static std::string icon_damage_no;
-static std::string icon_privacy_on;
-static std::string icon_privacy_off;
+static std::string icon_hidden_avs_on;
+static std::string icon_hidden_avs_off;
LLPanelPlaceProfile::LLPanelPlaceProfile()
: LLPanelPlaceInfo(),
@@ -116,8 +116,8 @@ BOOL LLPanelPlaceProfile::postBuild()
mScriptsText = getChild<LLTextBox>("scripts_value");
mDamageIcon = getChild<LLIconCtrl>("damage_icon");
mDamageText = getChild<LLTextBox>("damage_value");
- mPrivacyIcon = getChild<LLIconCtrl>("privacy_icon");
- mPrivacyText = getChild<LLTextBox>("privacy_value");
+ mHiddenAVsIcon = getChild<LLIconCtrl>("hidden_av_icon");
+ mHiddenAVsText = getChild<LLTextBox>("hidden_av_value");
mRegionNameText = getChild<LLTextBox>("region_name");
mRegionTypeText = getChild<LLTextBox>("region_type");
@@ -157,8 +157,8 @@ BOOL LLPanelPlaceProfile::postBuild()
icon_scripts_no = getString("icon_ScriptsNo");
icon_damage = getString("icon_Damage");
icon_damage_no = getString("icon_DamageNo");
- icon_privacy_on = getString("icon_PrivacyOn");
- icon_privacy_off = getString("icon_PrivacyOff");
+ icon_hidden_avs_on = getString("icon_HiddenAVsOn");
+ icon_hidden_avs_off = getString("icon_HiddenAVsOff");
return TRUE;
}
@@ -188,8 +188,8 @@ void LLPanelPlaceProfile::resetLocation()
mScriptsText->setText(loading);
mDamageIcon->setValue(loading);
mDamageText->setText(loading);
- mPrivacyIcon->setValue(loading);
- mPrivacyText->setText(loading);
+ mHiddenAVsIcon->setValue(loading);
+ mHiddenAVsText->setText(loading);
mRegionNameText->setValue(loading);
mRegionTypeText->setValue(loading);
@@ -422,15 +422,15 @@ void LLPanelPlaceProfile::displaySelectedParcelInfo(LLParcel* parcel,
mDamageText->setText(off);
}
- if (parcel->getPrivacy())
+ if (parcel->getHiddenAVs())
{
- mPrivacyIcon->setValue(icon_privacy_on);
- mPrivacyText->setText(on);
+ mHiddenAVsIcon->setValue(icon_hidden_avs_on);
+ mHiddenAVsText->setText(on);
}
else
{
- mPrivacyIcon->setValue(icon_privacy_off);
- mPrivacyText->setText(off);
+ mHiddenAVsIcon->setValue(icon_hidden_avs_off);
+ mHiddenAVsText->setText(off);
}
mRegionNameText->setText(region->getName());