summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSeth ProductEngine <slitovchuk@productengine.com>2010-12-09 01:04:57 +0200
committerSeth ProductEngine <slitovchuk@productengine.com>2010-12-09 01:04:57 +0200
commitc389577a0c6bad949bf2bb6ee3ab68f16742138b (patch)
tree7320909c9bffe4dbb4fc79dd2cb097685addc17e
parent39e4303653a2eb4e6582fdea9646db8b29f96805 (diff)
STORM-578 FIXED using the color setting for "URLs" from Preferences for names in Nearby Chat toasts.
-rw-r--r--indra/newview/llchatitemscontainerctrl.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/indra/newview/llchatitemscontainerctrl.cpp b/indra/newview/llchatitemscontainerctrl.cpp
index 3afddc1145..899e0431e7 100644
--- a/indra/newview/llchatitemscontainerctrl.cpp
+++ b/indra/newview/llchatitemscontainerctrl.cpp
@@ -224,7 +224,8 @@ void LLNearbyChatToastPanel::init(LLSD& notification)
href = LLSLURL("object", mFromID, "inspect").getSLURLString();
}
- style_params_name.color(textColor);
+ LLColor4 user_name_color = LLUIColorTable::instance().getColor("HTMLLinkColor");
+ style_params_name.color(user_name_color);
std::string font_name = LLFontGL::nameFromFont(messageFont);
std::string font_style_size = LLFontGL::sizeFromFont(messageFont);